games/assaultcube: Updated for version 1.1.0.4

Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
This commit is contained in:
Larry Hajali 2010-12-30 19:47:30 -02:00 committed by Robby Workman
parent 753e258778
commit 341f0abcd6
2 changed files with 11 additions and 9 deletions

View file

@ -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

View file

@ -1,12 +1,12 @@
PRGNAM="assaultcube"
VERSION="1.1.0.1"
VERSION="1.1.0.4"
HOMEPAGE="http://assault.cubers.net/"
DOWNLOAD="http://downloads.sourceforge.net/actiongame/AssaultCube_v1.1.0.1.tar.bz2 \
http://downloads.sourceforge.net/actiongame/AssaultCube_v1.1.0.1.source.tar.bz2"
MD5SUM="9ad55a9e032efc59eb1f2f89577647c3 \
566388ec0cf5d3a910c90763656e5292"
DOWNLOAD="http://downloads.sourceforge.net/actiongame/AssaultCube_v1.1.0.4.tar.bz2 \
http://downloads.sourceforge.net/actiongame/AssaultCube_v1.1.0.4_source.tar.bz2"
MD5SUM="a5eb79eaf564c5b4de1ffad0883e45e8 \
603b97a4262fb59ea86d483730b712e9"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="Larry Hajali"
EMAIL="larryhaja[at]gmail[dot]com"
APPROVED="dsomero"
APPROVED="dsomero,Niels Horn"