diff options
author | James Geboski <jgeboski@gmail.com> | 2013-06-27 07:22:51 -0500 |
---|---|---|
committer | Niels Horn <niels.horn@slackbuilds.org> | 2013-06-29 16:11:03 -0300 |
commit | 39484c4cfefbb7691003143aca30a1fd9063315f (patch) | |
tree | fe8efd3fa54f7c01032a8cf97439a9c6722c75fb /games/xonotic/xonotic.SlackBuild | |
parent | fc63df7ac17da12a5700ac44442343b564077abc (diff) | |
download | slackbuilds-39484c4cfefbb7691003143aca30a1fd9063315f.tar.gz |
games/xonotic: Updated for version 0.7.0.
Enabled IPv6 support.
Signed-off-by: Erik Hanson <erik@slackbuilds.org>
Diffstat (limited to 'games/xonotic/xonotic.SlackBuild')
-rw-r--r-- | games/xonotic/xonotic.SlackBuild | 31 |
1 files changed, 12 insertions, 19 deletions
diff --git a/games/xonotic/xonotic.SlackBuild b/games/xonotic/xonotic.SlackBuild index b40f426135..d0528b264d 100644 --- a/games/xonotic/xonotic.SlackBuild +++ b/games/xonotic/xonotic.SlackBuild @@ -23,8 +23,8 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=xonotic -VERSION=${VERSION:-0.6.0} -BUILD=${BUILD:-3} +VERSION=${VERSION:-0.7.0} +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -59,11 +59,11 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $PRGNAM-$VERSION -mkdir -p $TMP/$PRGNAM-$VERSION -cd $TMP/$PRGNAM-$VERSION +rm -rf $PRGNAM-$VERSION Xonotic unzip $CWD/$PRGNAM-$VERSION.zip -cd Xonotic +unzip $CWD/$PRGNAM-$VERSION-crypto.zip Xonotic/source/d0_blind_id/d0_rijndael.c +mv Xonotic $PRGNAM-$VERSION +cd $PRGNAM-$VERSION chown -R root:root . find . \ \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ @@ -71,14 +71,14 @@ find . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; -cp $CWD/d0_rijndael.c source/d0_blind_id - mkdir -p \ $PKG/usr/bin \ - $PKG/usr/share/xonotic \ + $PKG/usr/share/$PRGNAM \ $PKG/usr/share/{applications,pixmaps} cd source/d0_blind_id + autoreconf -fi + CFLAGS="$SLKCFLAGS" \ ./configure \ --prefix=/usr \ @@ -90,17 +90,10 @@ cd source/d0_blind_id make install DESTDIR=$PKG cd - -make -C source/fteqcc \ - CFLAGS="$SLKCFLAGS" - -make -C source/qcsrc \ - FTEQCC="$(pwd)/source/fteqcc/fteqcc.bin" \ - FTEQCCFLAGS_WATERMARK="" - # Rather than using libdl, link libd0_blind_id and libd0_rijndael make -C source/darkplaces release \ - CFLAGS_EXTRA="$SLKCFLAGS" \ - DP_FS_BASEDIR="/usr/share/xonotic" \ + CFLAGS_EXTRA="$SLKCFLAGS -DSUPPORTIPV6" \ + DP_FS_BASEDIR="/usr/share/$PRGNAM" \ CFLAGS_CRYPTO="-I$PKG/usr/include -DCRYPTO_STATIC" \ LIB_CRYPTO="-L$PKG/usr/lib${LIBDIRSUFFIX} -ld0_blind_id" \ CFLAGS_CRYPTO_RIJNDAEL="-I$PKG/usr/include -DCRYPTO_RIJNDAEL_STATIC" \ @@ -111,7 +104,7 @@ install -m 755 source/darkplaces/darkplaces-glx $PKG/usr/bin/xonotic-sdl install -m 644 $CWD/xonotic.desktop $PKG/usr/share/applications install -m 644 misc/logos/xonotic_icon.svg $PKG/usr/share/pixmaps/xonotic.svg -cp -a data key_0.d0pk $PKG/usr/share/xonotic +cp -a data key_0.d0pk $PKG/usr/share/$PRGNAM mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a \ |