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.SlackBuild14
1 files changed, 6 insertions, 8 deletions
diff --git a/games/eduke32/eduke32.SlackBuild b/games/eduke32/eduke32.SlackBuild
index ccb088bd08..424e3eac67 100644
--- a/games/eduke32/eduke32.SlackBuild
+++ b/games/eduke32/eduke32.SlackBuild
@@ -7,7 +7,7 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
PRGNAM=eduke32
-VERSION=${VERSION:-20130620_3893}
+VERSION=${VERSION:-20150510_5182}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -43,7 +43,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf ${PRGNAM}_${SRCVER}
-tar xvf $CWD/${PRGNAM}_src_${SRCVER}.tar.bz2
+tar xvf $CWD/${PRGNAM}_src_${SRCVER}.tar.xz
cd ${PRGNAM}_${SRCVER}
chown -R root:root .
find -L . \
@@ -68,7 +68,6 @@ make ARCH="$SLKCFLAGS" $VPXFLAG
# Build the utilities, if requested.
if [ "${BUILD_UTILS:-yes}" = "yes" ]; then
- cd build
make utils ARCH="$SLKCFLAGS"
for i in kextract kgroup transpal wad2art wad2map; do
@@ -76,8 +75,7 @@ if [ "${BUILD_UTILS:-yes}" = "yes" ]; then
done
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
- cp doc/* $PKG/usr/doc/$PRGNAM-$VERSION
- cd -
+ cp build/doc/* $PKG/usr/doc/$PRGNAM-$VERSION
fi
install -D -m0755 $PRGNAM $PKG/usr/libexec/$PRGNAM/$PRGNAM
@@ -92,7 +90,7 @@ install -D -m0755 $CWD/$PRGNAM.wrapper $PKG/usr/games/$PRGNAM
# Mapster help files
mkdir -p $PKG/usr/share/games/$PRGNAM
-cd package
+cd package/sdk
cp *.hlp *.HLP names.h tiles.cfg $PKG/usr/share/games/$PRGNAM
cp -r samples $PKG/usr/share/games/$PRGNAM/samples
cd -
@@ -104,8 +102,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 build/buildlic.txt source/gpl-2.0.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