summaryrefslogtreecommitdiffstats
path: root/games/bitfighter/bitfighter.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'games/bitfighter/bitfighter.SlackBuild')
-rw-r--r--games/bitfighter/bitfighter.SlackBuild12
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