summaryrefslogtreecommitdiffstats
path: root/games/worldofgoo/worldofgoo.SlackBuild
diff options
context:
space:
mode:
author Gerardo Zamudio <gerardo.zamudio@linux.com>2016-11-15 23:10:46 +0000
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2016-11-19 07:31:28 +0700
commita7b79f385e2b62828ac02004004d2d8bd3feaac4 (patch)
treeb5b377661379346613ebda400b162398724d9d8f /games/worldofgoo/worldofgoo.SlackBuild
parentac10f6f48e13e48037f9e4208834bd5ddf1263ed (diff)
downloadslackbuilds-a7b79f385e2b62828ac02004004d2d8bd3feaac4.tar.gz
slackbuilds-a7b79f385e2b62828ac02004004d2d8bd3feaac4.tar.xz
games/worldofgoo: Update email and download.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'games/worldofgoo/worldofgoo.SlackBuild')
-rw-r--r--games/worldofgoo/worldofgoo.SlackBuild10
1 files changed, 5 insertions, 5 deletions
diff --git a/games/worldofgoo/worldofgoo.SlackBuild b/games/worldofgoo/worldofgoo.SlackBuild
index 7d1f8a9be61..871017ac088 100644
--- a/games/worldofgoo/worldofgoo.SlackBuild
+++ b/games/worldofgoo/worldofgoo.SlackBuild
@@ -30,8 +30,8 @@ TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
- arm*) ARCH=arm ;;
+ i?86) ARCH=i586 ;;
+ arm*) echo "$ARCH is not supported." ; exit 1 ;;
*) ARCH=$( uname -m ) ;;
esac
fi
@@ -46,7 +46,7 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM
+rm -rf $SRCNAM
tar xvf $CWD/$SRCNAM.$VERSION.tar.gz
cd $SRCNAM
chown -R root:root .
@@ -54,7 +54,7 @@ find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
-o -perm 511 \) -exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
# Move WorldOfGoo to /opt
mkdir -p $PKG/opt
@@ -68,7 +68,7 @@ mkdir -p $PKG/usr/bin
if [ $ARCH == "x86_64" ]; then
rm -rf $PKG/opt/$PRGNAM/libs32
rm -f $PKG/opt/$PRGNAM/WorldOfGoo.bin32
-elif [ $ARCH == "i486" ] || [ $ARCH == "i686" ]; then
+elif [ $ARCH == "i586" ] || [ $ARCH == "i686" ]; then
rm -rf $PKG/opt/$PRGNAM/libs64
rm -f $PKG/opt/$PRGNAM/WorldOfGoo.bin64
fi