summaryrefslogtreecommitdiff
path: root/games/assaultcube/assaultcube.SlackBuild
diff options
context:
space:
mode:
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