diff options
Diffstat (limited to 'games/worldofgoo/worldofgoo.SlackBuild')
-rw-r--r-- | games/worldofgoo/worldofgoo.SlackBuild | 10 |
1 files changed, 5 insertions, 5 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 |