diff options
author | Dimitris Zlatanidis <d.zlatanidis@gmail.com> | 2016-10-25 00:42:04 +0300 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-10-29 06:58:15 +0700 |
commit | 3ba8a2ff0509e25dfece3bf04f782273921a29cc (patch) | |
tree | cc47e3623c5f31e4a34d07c9791e60837367a1e7 /games/bitfighter/bitfighter.SlackBuild | |
parent | 24ff7eabc81c82017b6f5777053782afa5d75fe0 (diff) | |
download | slackbuilds-3ba8a2ff0509e25dfece3bf04f782273921a29cc.tar.gz |
games/bitfighter: Switch to i586 + remove dead link.
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
Diffstat (limited to 'games/bitfighter/bitfighter.SlackBuild')
-rw-r--r-- | games/bitfighter/bitfighter.SlackBuild | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/games/bitfighter/bitfighter.SlackBuild b/games/bitfighter/bitfighter.SlackBuild index 656c9e8530..7d22218910 100644 --- a/games/bitfighter/bitfighter.SlackBuild +++ b/games/bitfighter/bitfighter.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for bitfighter -# Copyright 2014 Dimitris Zlatanidis Orestiada, Greece +# Copyright 2014-2016 Dimitris Zlatanidis Orestiada, Greece # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -24,12 +24,12 @@ PRGNAM=bitfighter VERSION=${VERSION:-019e} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac @@ -40,8 +40,8 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -62,7 +62,6 @@ cd $TMP rm -rf $PRGNAM-$VERSION tar xvf $CWD/$PRGNAM-$VERSION.tar.gz cd $PRGNAM-$VERSION -unzip $CWD/classic_level_pack.zip chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ @@ -91,7 +90,6 @@ mkdir -p $PKG/usr/share/games/$PRGNAM/resource/levels \ $PKG/usr/bin cp -rf exe/*.ini $PKG/usr/share/games/$PRGNAM cp -r resource/* $PKG/usr/share/games/$PRGNAM -cp -a classic_level_pack/* $PKG/usr/share/games/$PRGNAM/resource/levels install -m0755 exe/$PRGNAM $PKG/usr/bin mkdir -p $PKG/usr/share/applications |