games/eduke32: Updated for version 20130620_3893.

Signed-off-by: Erik Hanson <erik@slackbuilds.org>
This commit is contained in:
B. Watson 2013-06-29 23:26:44 -05:00 committed by Erik Hanson
parent a97319c621
commit 1246c19ba9
2 changed files with 20 additions and 12 deletions

View file

@ -7,7 +7,7 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
PRGNAM=eduke32
VERSION=${VERSION:-20110325_1856}
VERSION=${VERSION:-20130620_3893}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@ -48,13 +48,19 @@ cd ${PRGNAM}_${SRCVER}
chown -R root:root .
chmod -R a-s,u+w,go+r-w .
# Latest src is only available as a diff against the previous
# release, it came from here:
# http://wiki.eduke32.com/stuff/source_code/eduke32_src_20090313.diff
#zcat $CWD/${PRGNAM}_src_${VERSION}.diff.gz | patch -p1
if [ "${VPX:-no}" != "yes" ]; then
VPXFLAG="USE_LIBVPX=0"
fi
# On some systems, the game spits out tons of warnings:
# Error: glGetTexLevelParameteriv returned GL_FALSE!
# These don't seem to actually hurt anything (the game looks
# and plays fine), so let's get rid of them to clean up
# the log output.
sed -i '/"Error: glGetTexLevelParameteriv/d' build/src/texcache.c
# Mildly confusing: the Makefile uses ARCH for arch-specific cflags
make ARCH="$SLKCFLAGS"
make ARCH="$SLKCFLAGS" $VPXFLAG
# Build the utilities, if requested.
if [ "${BUILD_UTILS:-yes}" = "yes" ]; then
@ -82,8 +88,10 @@ install -D -m0755 $CWD/$PRGNAM.wrapper $PKG/usr/games/$PRGNAM
# Mapster help files
mkdir -p $PKG/usr/share/games/$PRGNAM
cp *.hlp *.HLP names.h samples/tiles.cfg $PKG/usr/share/games/$PRGNAM
cd package
cp *.hlp *.HLP names.h tiles.cfg $PKG/usr/share/games/$PRGNAM
cp -r samples $PKG/usr/share/games/$PRGNAM/samples
cd -
mkdir -p $PKG/usr/share/applications
cp $CWD/mapster32.desktop $CWD/$PRGNAM.desktop $PKG/usr/share/applications
@ -92,8 +100,8 @@ mkdir -p $PKG/usr/share/pixmaps
cp $CWD/$PRGNAM.png $PKG/usr/share/pixmaps
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp ChangeLog* *.txt *.TXT $CWD/README_game_data.txt \
$PKG/usr/doc/$PRGNAM-$VERSION
#cp ChangeLog* *.txt *.TXT $CWD/README_game_data.txt \
#$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
( cd $PKG/usr/share/games/$PRGNAM

View file

@ -1,8 +1,8 @@
PRGNAM="eduke32"
VERSION="20110325_1856"
VERSION="20130620_3893"
HOMEPAGE="http://www.eduke32.com/"
DOWNLOAD="http://dukeworld.duke4.net/eduke32/synthesis/20110325-1856/eduke32_src_20110325-1856.tar.bz2"
MD5SUM="8cb6024fd5fe04bbcf9036641b6332da"
DOWNLOAD="http://dukeworld.duke4.net/eduke32/synthesis/20130620-3893/eduke32_src_20130620-3893.tar.bz2"
MD5SUM="2e8072c5a67ec758fa4a7fbfd78b1016"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""