summaryrefslogtreecommitdiffstats
path: root/games/hexglass/hexglass.SlackBuild
diff options
context:
space:
mode:
author Dimitris Zlatanidis2017-04-15 21:43:02 +0200
committer Willy Sudiarto Raharjo2017-04-22 03:11:02 +0200
commitde9d4e084094474913b5c7d431311d9ea2456f9f (patch)
tree0853bef61bf550db6b1f292733f71ce665d298c7 /games/hexglass/hexglass.SlackBuild
parent0c58f948b8e246f9e5897b005d60cb35c1ab6569 (diff)
downloadslackbuilds-de9d4e084094474913b5c7d431311d9ea2456f9f.tar.gz
games/hexglass: Update script, HOMEPAGE & DOWNLOAD url.
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
Diffstat (limited to 'games/hexglass/hexglass.SlackBuild')
-rw-r--r--games/hexglass/hexglass.SlackBuild10
1 files changed, 5 insertions, 5 deletions
diff --git a/games/hexglass/hexglass.SlackBuild b/games/hexglass/hexglass.SlackBuild
index 7413407e21..82f7fe321a 100644
--- a/games/hexglass/hexglass.SlackBuild
+++ b/games/hexglass/hexglass.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for hexglass
-# Copyright 2014-2016 Dimitris Zlatanidis Orestiada, Greece
+# Copyright 2014-2017 Dimitris Zlatanidis Orestiada, Greece
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -24,7 +24,7 @@
PRGNAM=hexglass
VERSION=${VERSION:-1.2.1}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -59,9 +59,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
-cd $PRGNAM-$VERSION
+rm -rf $PRGNAM-$PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz || tar xvf $CWD/$PRGNAM-$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \