graphics/grafx2: Added alternate source.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Jorge Giner 2016-09-25 18:25:47 +07:00 committed by Willy Sudiarto Raharjo
parent f060fba6d0
commit 92b9163800

View file

@ -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 . \