summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--games/worldofgoo/worldofgoo.SlackBuild10
-rw-r--r--games/worldofgoo/worldofgoo.info4
2 files changed, 7 insertions, 7 deletions
diff --git a/games/worldofgoo/worldofgoo.SlackBuild b/games/worldofgoo/worldofgoo.SlackBuild
index 7d1f8a9be6..871017ac08 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
diff --git a/games/worldofgoo/worldofgoo.info b/games/worldofgoo/worldofgoo.info
index b15ede389d..9cb9dbd8fc 100644
--- a/games/worldofgoo/worldofgoo.info
+++ b/games/worldofgoo/worldofgoo.info
@@ -1,10 +1,10 @@
PRGNAM="worldofgoo"
VERSION="1.41"
HOMEPAGE="http://2dboy.com/games.php"
-DOWNLOAD="http://freebsd.nsu.ru/distfiles/WorldOfGooDemo.1.41.tar.gz"
+DOWNLOAD="http://worldofgoo.com/dl2.php?lk=demo"
MD5SUM="2a490524ae2cfd11fcb2e052dfe47d4e"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="Gerardo Zamudio"
-EMAIL="gerardo@gerardozamudio.net"
+EMAIL="gerardo.zamudio@linux.com"