summaryrefslogtreecommitdiff
path: root/graphics/grafx2/grafx2.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/grafx2/grafx2.SlackBuild')
-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 . \