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 | |
parent | 24ff7eabc81c82017b6f5777053782afa5d75fe0 (diff) |
games/bitfighter: Switch to i586 + remove dead link.
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
Diffstat (limited to 'games/bitfighter')
-rw-r--r-- | games/bitfighter/bitfighter.SlackBuild | 12 | ||||
-rw-r--r-- | games/bitfighter/bitfighter.info | 6 |
2 files changed, 7 insertions, 11 deletions
diff --git a/games/bitfighter/bitfighter.SlackBuild b/games/bitfighter/bitfighter.SlackBuild index 656c9e8530fde..7d222189100ba 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 diff --git a/games/bitfighter/bitfighter.info b/games/bitfighter/bitfighter.info index f3b7c3d165ad7..332d538af6912 100644 --- a/games/bitfighter/bitfighter.info +++ b/games/bitfighter/bitfighter.info @@ -1,10 +1,8 @@ PRGNAM="bitfighter" VERSION="019e" HOMEPAGE="http://bitfighter.org/" -DOWNLOAD="http://bitfighter.org/files/bitfighter-019e.tar.gz \ - https://bitfighter.googlecode.com/files/classic_level_pack.zip" -MD5SUM="66ff2a80f4ffd7cd354667e906323759 \ - cb32039b47026e176d3f1f3639bd1a9f" +DOWNLOAD="http://bitfighter.org/files/bitfighter-019e.tar.gz" +MD5SUM="66ff2a80f4ffd7cd354667e906323759" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="OpenAL SDL2 speex libmodplug" |