From 3ba8a2ff0509e25dfece3bf04f782273921a29cc Mon Sep 17 00:00:00 2001 From: Dimitris Zlatanidis Date: Tue, 25 Oct 2016 00:42:04 +0300 Subject: games/bitfighter: Switch to i586 + remove dead link. Signed-off-by: Dimitris Zlatanidis --- games/bitfighter/bitfighter.SlackBuild | 12 +++++------- games/bitfighter/bitfighter.info | 6 ++---- 2 files changed, 7 insertions(+), 11 deletions(-) (limited to 'games/bitfighter') 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 diff --git a/games/bitfighter/bitfighter.info b/games/bitfighter/bitfighter.info index f3b7c3d165..332d538af6 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" -- cgit v1.2.3