diff --git a/games/tome-sx/tome-sx.SlackBuild b/games/tome-sx/tome-sx.SlackBuild index c12eed96ff..e40eb39ef1 100644 --- a/games/tome-sx/tome-sx.SlackBuild +++ b/games/tome-sx/tome-sx.SlackBuild @@ -23,11 +23,13 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=tome-sx -VERSION=${VERSION:-c1fe5a0ad25317a4bdf27ddba1522fd896389873} +VERSION=${VERSION:-20160915_c1fe5a0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} -SRCPRGNAM=ToME-SX +GITVER="$( echo $VERSION | cut -d_ -f2 )" + +SRCNAM=ToME-SX if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -61,9 +63,9 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $SRCPRGNAM-$VERSION -tar xvf $CWD/$SRCPRGNAM-$VERSION.tar.gz -cd $SRCPRGNAM-$VERSION +rm -rf $SRCNAM-$GITVER* +tar xvf $CWD/$SRCNAM-$GITVER*.tar.gz +cd $SRCNAM-$GITVER* chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ diff --git a/games/tome-sx/tome-sx.info b/games/tome-sx/tome-sx.info index ca5a8d8c71..a4a0526f72 100644 --- a/games/tome-sx/tome-sx.info +++ b/games/tome-sx/tome-sx.info @@ -1,5 +1,5 @@ PRGNAM="tome-sx" -VERSION="c1fe5a0ad25317a4bdf27ddba1522fd896389873" +VERSION="20160915_c1fe5a0" HOMEPAGE="https://github.com/AmyBSOD/ToME-SX" DOWNLOAD="https://github.com/AmyBSOD/ToME-SX/archive/c1fe5a0ad25317a4bdf27ddba1522fd896389873/ToME-SX-c1fe5a0ad25317a4bdf27ddba1522fd896389873.tar.gz" MD5SUM="79101bc283ed4f4af733800f824d3f4f"