summaryrefslogtreecommitdiffstats
path: root/games/tome-sx/tome-sx.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'games/tome-sx/tome-sx.SlackBuild')
-rw-r--r--games/tome-sx/tome-sx.SlackBuild12
1 files changed, 7 insertions, 5 deletions
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 \