mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-21 19:42:24 +01:00
graphics/grafx2: Added alternate source.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
f060fba6d0
commit
92b9163800
1 changed files with 3 additions and 1 deletions
|
@ -27,6 +27,8 @@ VERSION=${VERSION:-2.4.2035}
|
||||||
BUILD=${BUILD:-1}
|
BUILD=${BUILD:-1}
|
||||||
TAG=${TAG:-_SBo}
|
TAG=${TAG:-_SBo}
|
||||||
|
|
||||||
|
SRC=21
|
||||||
|
|
||||||
if [ -z "$ARCH" ]; then
|
if [ -z "$ARCH" ]; then
|
||||||
case "$( uname -m )" in
|
case "$( uname -m )" in
|
||||||
i?86) ARCH=i586 ;;
|
i?86) ARCH=i586 ;;
|
||||||
|
@ -68,7 +70,7 @@ cd $TMP
|
||||||
rm -rf $PRGNAM-$VERSION
|
rm -rf $PRGNAM-$VERSION
|
||||||
mkdir -p $PRGNAM-$VERSION
|
mkdir -p $PRGNAM-$VERSION
|
||||||
cd $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
|
cd $PRGNAM
|
||||||
chown -R root:root .
|
chown -R root:root .
|
||||||
find -L . \
|
find -L . \
|
||||||
|
|
Loading…
Reference in a new issue