mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
games/bitfighter: Switch to i586 + remove dead link.
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
This commit is contained in:
parent
24ff7eabc8
commit
3ba8a2ff05
2 changed files with 7 additions and 11 deletions
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue