From 92b9163800232bb8c13e5d210d70aabb77bb68d5 Mon Sep 17 00:00:00 2001 From: Jorge Giner Date: Sun, 25 Sep 2016 18:25:47 +0700 Subject: graphics/grafx2: Added alternate source. Signed-off-by: Willy Sudiarto Raharjo --- graphics/grafx2/grafx2.SlackBuild | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 . \ -- cgit v1.2.3