aboutsummaryrefslogtreecommitdiff
path: root/games/armagetronad/armagetronad.SlackBuild
diff options
context:
space:
mode:
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 629524e8e6b7a..f3930c101d8f3 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 \