aboutsummaryrefslogtreecommitdiff
path: root/games/armagetronad/armagetronad.SlackBuild
diff options
context:
space:
mode:
authorponce <matteo.bernardini@gmail.com>2012-08-11 18:52:19 +0200
committerRobby Workman <rworkman@slackbuilds.org>2012-08-21 08:55:26 -0500
commitc961c7d518b44f44889db23109aa8ff423f2f27a (patch)
tree2961d270065c32bbc804b1e01596adf44fda565f /games/armagetronad/armagetronad.SlackBuild
parent21f3671d134433a826d3776c1a9a5ff668838763 (diff)
games/armagetronad: Updated for version 0.2.8.3.2.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'games/armagetronad/armagetronad.SlackBuild')
-rw-r--r--games/armagetronad/armagetronad.SlackBuild13
1 files changed, 4 insertions, 9 deletions
diff --git a/games/armagetronad/armagetronad.SlackBuild b/games/armagetronad/armagetronad.SlackBuild
index 629524e8e6b7..f3930c101d8f 100644
--- a/games/armagetronad/armagetronad.SlackBuild
+++ b/games/armagetronad/armagetronad.SlackBuild
@@ -4,7 +4,7 @@
# based on the hollywoodb's one on 12.2 repository
PRGNAM=armagetronad
-VERSION=${VERSION:-r999}
+VERSION=${VERSION:-0.2.8.3.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -41,7 +41,7 @@ rm -rf $PKG
mkdir -p $PKG
rm -rf $TMP/$PRGNAM-$VERSION
cd $TMP
-tar xvf $CWD/$PRGNAM-$VERSION.tar.xz
+tar xvf $CWD/$PRGNAM-$VERSION.1.src.tar.?z*
cd $PRGNAM-$VERSION
chown -R root:root .
@@ -51,7 +51,8 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
-sh bootstrap.sh
+# Fix wrong detection of libpng in configure
+sed -i 's|png_check_sig|png_sig_cmp|g' configure
# Using --disable-games since it peppers installation
# paths with 'games' subdirectories and we're handling that manually.
@@ -95,12 +96,6 @@ rm -rf $PKG/etc/rc.d
# don't overwrite old configs
CONFIGS="aiplayers.cfg \
default.cfg \
- keys_cursor.cfg \
- keys_cursor_single.cfg \
- keys_twohand.cfg \
- keys_wasd.cfg \
- keys_x.cfg \
- keys_zqsd.cfg \
settings.cfg \
settings_authentication.cfg \
settings_dedicated.cfg \