summaryrefslogtreecommitdiff
path: root/games/eduke32/eduke32.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'games/eduke32/eduke32.SlackBuild')
-rw-r--r--games/eduke32/eduke32.SlackBuild20
1 files changed, 12 insertions, 8 deletions
diff --git a/games/eduke32/eduke32.SlackBuild b/games/eduke32/eduke32.SlackBuild
index 28fd460273..f29678ec39 100644
--- a/games/eduke32/eduke32.SlackBuild
+++ b/games/eduke32/eduke32.SlackBuild
@@ -6,6 +6,11 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+# 20170128 bkw:
+# - update for 20170123_6052
+# - add new utilities
+# - compilefix.diff no longer needed
+
# 20160808 bkw:
# - update for 20160704_5811
# - install samples/ to the doc dir, not the game data dir
@@ -20,7 +25,7 @@
# - slack-desc shows SDL version and whether or not libvpx was used.
PRGNAM=eduke32
-VERSION=${VERSION:-20160704_5811}
+VERSION=${VERSION:-20170123_6052}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -73,8 +78,6 @@ else
ANDVPX=" and libvpx"
fi
-patch -p1 < $CWD/compilefix.diff
-
# 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
@@ -103,18 +106,18 @@ make \
# Build the utilities, if requested.
if [ "${BUILD_UTILS:-yes}" = "yes" ]; then
- make utils \
+ make utils sdlutils \
OPTIMIZATIONS="$SLKCFLAGS" \
ARCH="" \
$VPXFLAG \
SDL_TARGET=$SDL_TARGET \
- for i in kextract kgroup transpal wad2art wad2map; do
+ for i in kextract kgroup transpal wad2art wad2map kmd2tool \
+ md2tool generateicon cacheinfo arttool givedepth \
+ mkpalette unpackssi map2stl ivfrate makesdlkeytrans
+ do
install -s -D -m0755 $i $PKG/usr/games/$i
done
-
- mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
- cp build/doc/* $PKG/usr/doc/$PRGNAM-$VERSION
fi
install -D -m0755 $PRGNAM $PKG/usr/libexec/$PRGNAM/$PRGNAM
@@ -140,6 +143,7 @@ mkdir -p $PKG/usr/share/pixmaps
cp $CWD/$PRGNAM.png $PKG/usr/share/pixmaps
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp build/doc/* $PKG/usr/doc/$PRGNAM-$VERSION
cp build/buildlic.txt source/gpl-2.0.txt $CWD/README_game_data.txt \
$PKG/usr/doc/$PRGNAM-$VERSION
cp -r package/sdk/samples $PKG/usr/doc/$PRGNAM-$VERSION