summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLarry Hajali <larryhaja[at]gmail[dot]com>2011-10-16 12:25:25 -0200
committerNiels Horn <niels.horn@slackbuilds.org>2011-10-16 12:25:25 -0200
commit04c5d7be4a80d1e96237d4921285be9a957b44a5 (patch)
tree52604cd43da0e44f58dc04078a3fa99a7d20a865
parent3e3c86d262f74abe185abb68b08aee6bdbd2c0ab (diff)
downloadslackbuilds-04c5d7be4a80d1e96237d4921285be9a957b44a5.tar.gz
games/alienarena: Updated for version 7.52.
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
-rw-r--r--games/alienarena/alienarena.SlackBuild18
-rw-r--r--games/alienarena/alienarena.info8
2 files changed, 14 insertions, 12 deletions
diff --git a/games/alienarena/alienarena.SlackBuild b/games/alienarena/alienarena.SlackBuild
index 3297791821..74f53440a1 100644
--- a/games/alienarena/alienarena.SlackBuild
+++ b/games/alienarena/alienarena.SlackBuild
@@ -3,7 +3,7 @@
# Written by Larry Hajali <larryhaja[at]gmail[dot]com>
PRGNAM=alienarena
-VERSION=${VERSION:-7.51}
+VERSION=${VERSION:-7.52}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -40,7 +40,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar -xvf $CWD/$PRGNAM-${VERSION/./_}-linux20110311.tar.gz
+tar -xvf $CWD/$PRGNAM-${VERSION/./_}-linux20110929.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find . \
@@ -56,10 +56,13 @@ CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
+ --bindir=/usr/games \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--disable-silent-rules \
--disable-dependency-tracking \
--with-x \
+ --enable-ansi-color \
+ --with-system-libode \
--docdir=/usr/doc/$PRGNAM-$VERSION \
--build=$ARCH-slackware-linux
@@ -67,20 +70,19 @@ make
make install DESTDIR=$PKG
# Rename executables.
-mv $PKG/usr/bin/crx $PKG/usr/bin/$PRGNAM
-mv $PKG/usr/bin/crx-ded $PKG/usr/bin/$PRGNAM-ded
+mv $PKG/usr/games/crx $PKG/usr/games/$PRGNAM
+mv $PKG/usr/games/crx-ded $PKG/usr/games/$PRGNAM-ded
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/share/{applications,pixmaps}
install -m 0644 $CWD/$PRGNAM.desktop $PKG/usr/share/applications
-install -m 0644 alienarena.png $PKG/usr/share/pixmaps/$PRGNAM.png
+install -m 0644 $PRGNAM.png $PKG/usr/share/pixmaps
+rm -rf $PKG/usr/share/icons
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/scripts
-cp -a \
- COPYING README docs/{license.txt,README.txt} \
- $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a COPYING $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
install -m 0644 Tools/LinuxScripts/* $PKG/usr/doc/$PRGNAM-$VERSION/scripts
diff --git a/games/alienarena/alienarena.info b/games/alienarena/alienarena.info
index 69bc17a71c..a02c66a32a 100644
--- a/games/alienarena/alienarena.info
+++ b/games/alienarena/alienarena.info
@@ -1,10 +1,10 @@
PRGNAM="alienarena"
-VERSION="7.51"
+VERSION="7.52"
HOMEPAGE="http://icculus.org/alienarena/rpa/"
-DOWNLOAD="http://icculus.org/alienarena/Files/alienarena-7_51-linux20110311.tar.gz"
-MD5SUM="c9f1f050f52cdc45ab85487c526518d8"
+DOWNLOAD="http://icculus.org/alienarena/Files/alienarena-7_52-linux20110929.tar.gz"
+MD5SUM="85f66a0075b08496cd30165b1e4895e9"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="Larry Hajali"
EMAIL="larryhaja[at]gmail[dot]com"
-APPROVED="dsomero"
+APPROVED="dsomero,Niels Horn"