aboutsummaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorLarry Hajali <larryhaja[at]gmail[dot]com>2012-07-25 08:04:31 -0300
committerErik Hanson <erik@slackbuilds.org>2012-07-31 19:34:11 -0500
commit9e3ad55842eb83fe6b90b28a2d5fad5ef7ff52dd (patch)
tree6bdc41d3fa7a03534b89f02e1f45d0e415333121 /games
parentc179b4e36477d24f7cc141c0b66126ab2c715412 (diff)
games/alienarena: Updated for version 7.60.
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
Diffstat (limited to 'games')
-rw-r--r--games/alienarena/README2
-rw-r--r--games/alienarena/alienarena.SlackBuild19
-rw-r--r--games/alienarena/alienarena.info6
3 files changed, 11 insertions, 16 deletions
diff --git a/games/alienarena/README b/games/alienarena/README
index 9b0043315406e..8522267780d30 100644
--- a/games/alienarena/README
+++ b/games/alienarena/README
@@ -11,4 +11,4 @@ some pretty interesting scenarios. Players can join others on servers
using the in-game browser, or use the Galaxy client, which also serves as
a way to communicate with the large, and friendly Alien Arena community.
-Alienarena requires OpenAL and ode.
+Alienarena requires OpenAL.
diff --git a/games/alienarena/alienarena.SlackBuild b/games/alienarena/alienarena.SlackBuild
index 46fafe07f6166..1728b20ac272d 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.53}
+VERSION=${VERSION:-7.60}
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-linux20111227.tar.gz
+tar -xvf $CWD/$PRGNAM-$VERSION-linux20120629.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find . \
@@ -49,9 +49,9 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
-find ./Tools/LinuxScripts/ -type f -exec sed -i "s|crx|$PRGNAM|g" {} \;
-sed -i "s|\.codered|\.$PRGNAM|g" source/qcommon/qcommon.h Tools/LinuxScripts/*
+sed -i -e "s|crx|$PRGNAM|g" -e "s|\.codred|\.${PRGNAM}|g" Tools/LinuxScripts/*
+ALIENARENA_HOMEDIR=".${PRGNAM}" \
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
@@ -62,24 +62,19 @@ CXXFLAGS="$SLKCFLAGS" \
--disable-dependency-tracking \
--with-x \
--enable-ansi-color \
- --with-system-libode \
+ --without-system-libode \
+ --with-icondir=/usr/share/pixmaps \
--docdir=/usr/doc/$PRGNAM-$VERSION \
--build=$ARCH-slackware-linux
make
make install DESTDIR=$PKG
-# Rename executables.
-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}
+mkdir -p $PKG/usr/share/applications
install -m 0644 $CWD/$PRGNAM.desktop $PKG/usr/share/applications
-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 $PKG/usr/doc/$PRGNAM-$VERSION
diff --git a/games/alienarena/alienarena.info b/games/alienarena/alienarena.info
index ac9f070997ef7..3201feaf8e0ab 100644
--- a/games/alienarena/alienarena.info
+++ b/games/alienarena/alienarena.info
@@ -1,8 +1,8 @@
PRGNAM="alienarena"
-VERSION="7.53"
+VERSION="7.60"
HOMEPAGE="http://icculus.org/alienarena/rpa/"
-DOWNLOAD="http://icculus.org/alienarena/Files/alienarena-7.53-linux20111227.tar.gz"
-MD5SUM="2ccf9f1e2781c3bc005dbdb1b9954a33"
+DOWNLOAD="http://icculus.org/alienarena/Files/alienarena-7.60-linux20120629.tar.gz"
+MD5SUM="6f79e195ef2ca85db248a6c9eb4c9245"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="Larry Hajali"