summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorJorge Giner <jorge.giner@hotmail.com>2016-09-25 18:25:47 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-09-25 18:25:47 +0700
commit92b9163800232bb8c13e5d210d70aabb77bb68d5 (patch)
tree824f167ef124405204d77338e4f8234f0d2f4164 /graphics
parentf060fba6d066d7a789215bdef916b65fe5332ec3 (diff)
downloadslackbuilds-92b9163800232bb8c13e5d210d70aabb77bb68d5.tar.gz
graphics/grafx2: Added alternate source.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'graphics')
-rw-r--r--graphics/grafx2/grafx2.SlackBuild4
1 files changed, 3 insertions, 1 deletions
diff --git a/graphics/grafx2/grafx2.SlackBuild b/graphics/grafx2/grafx2.SlackBuild
index e6f3fd1e63..8d55e274a9 100644
--- a/graphics/grafx2/grafx2.SlackBuild
+++ b/graphics/grafx2/grafx2.SlackBuild
@@ -27,6 +27,8 @@ VERSION=${VERSION:-2.4.2035}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+SRC=21
+
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i586 ;;
@@ -68,7 +70,7 @@ cd $TMP
rm -rf $PRGNAM-$VERSION
mkdir -p $PRGNAM-$VERSION
cd $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION-src.tgz
+tar xvf $CWD/$PRGNAM-$VERSION-src.tgz || tar xvzf $CWD/$SRC
cd $PRGNAM
chown -R root:root .
find -L . \