summaryrefslogtreecommitdiff
path: root/games/assaultcube/assaultcube.SlackBuild
diff options
context:
space:
mode:
authorLarry Hajali <larryhaja[at]gmail[dot]com>2010-12-30 19:47:30 -0200
committerRobby Workman <rworkman@slackbuilds.org>2010-12-31 18:59:54 -0600
commit341f0abcd6fb5ae421593596d6907a198e61c4d8 (patch)
treebf10890a4f2fd11147a2c2d4752fe0da74288dcf /games/assaultcube/assaultcube.SlackBuild
parent753e258778b6aef77d5debb63f3956a7704b3880 (diff)
downloadslackbuilds-341f0abcd6fb5ae421593596d6907a198e61c4d8.tar.gz
games/assaultcube: Updated for version 1.1.0.4
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
Diffstat (limited to 'games/assaultcube/assaultcube.SlackBuild')
-rw-r--r--games/assaultcube/assaultcube.SlackBuild8
1 files changed, 5 insertions, 3 deletions
diff --git a/games/assaultcube/assaultcube.SlackBuild b/games/assaultcube/assaultcube.SlackBuild
index 919cc83679..9523a84df0 100644
--- a/games/assaultcube/assaultcube.SlackBuild
+++ b/games/assaultcube/assaultcube.SlackBuild
@@ -6,7 +6,7 @@
SRCNAM=AssaultCube
PRGNAM=assaultcube
-VERSION=1.1.0.1
+VERSION=1.1.0.4
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -39,8 +39,8 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $VERSION
+tar xvf $CWD/${SRCNAM}_v${VERSION}_source.tar.bz2
tar xvf $CWD/${SRCNAM}_v${VERSION}.tar.bz2
-tar xvf $CWD/${SRCNAM}_v${VERSION}.source.tar.bz2
cd $VERSION
chown -R root:root .
find . \
@@ -54,10 +54,12 @@ patch -p1 < $CWD/Makefile.patch
sed -i "s|-O2|$SLKCFLAGS|" source/enet/configure
rm -f bin_unix/*
+#autoreconf -ivf source/enet
+
EXTRA_CXXFLAGS="$SLKCFLAGS" \
make -C source/src
EXTRA_CXXFLAGS="$SLKCFLAGS" \
-make -C source/src client_install
+make -C source/src install
mkdir -p $PKG/usr/games $PKG/usr/share/$PRGNAM
sed -i "/^CUBE_DIR/s|=.*|=\"/usr/share/${PRGNAM}\"|" $PRGNAM.sh