summaryrefslogtreecommitdiff
path: root/games/freedoom/freedoom.SlackBuild
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2014-03-22 09:50:09 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-03-22 09:51:51 +0700
commit8caf0c23504ef7053c96839a169a0e732154b20d (patch)
tree5e6d8a8ad2a066a10189f4c794234c4c03e81d93 /games/freedoom/freedoom.SlackBuild
parent0285ca7c9c520172181a49f48ac2452bcf45431e (diff)
downloadslackbuilds-8caf0c23504ef7053c96839a169a0e732154b20d.tar.gz
games/freedoom: Updated for version 0.8.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/freedoom/freedoom.SlackBuild')
-rw-r--r--games/freedoom/freedoom.SlackBuild19
1 files changed, 12 insertions, 7 deletions
diff --git a/games/freedoom/freedoom.SlackBuild b/games/freedoom/freedoom.SlackBuild
index 5e26084173..6d2b5711a4 100644
--- a/games/freedoom/freedoom.SlackBuild
+++ b/games/freedoom/freedoom.SlackBuild
@@ -7,7 +7,7 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
PRGNAM=freedoom
-VERSION=${VERSION:-0.7}
+VERSION=${VERSION:-0.8}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -25,19 +25,24 @@ mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
mkdir -p $PRGNAM-$VERSION
+cd $TMP/$PRGNAM-$VERSION
+
+mkdir -p $PKG/usr/share/games/doom $PKG/usr/doc/$PRGNAM-$VERSION
for zipfile in $PRGNAM-iwad $PRGNAM-ultimate freedm; do
- cd $TMP/$PRGNAM-$VERSION
- unzip $CWD/$zipfile-$VERSION.zip
- cd $TMP/$PRGNAM-$VERSION/$zipfile-$VERSION
+ unzip $CWD/$zipfile-v$VERSION.zip
+ cd $zipfile-v$VERSION
chown -R root:root .
chmod 644 *
- mkdir -p $PKG/usr/share/games/doom $PKG/usr/doc/$PRGNAM-$VERSION/$zipfile
- cp ChangeLog COPYING README CREDITS NEWS *.html \
- $PKG/usr/doc/$PRGNAM-$VERSION/$zipfile
cp *.wad $PKG/usr/share/games/doom
+ cd -
done
+# The docs are identical in all 3 zipfiles, only keep one set.
+cd $PRGNAM-iwad-v$VERSION
+cp COPYING CREDITS *.html $PKG/usr/doc/$PRGNAM-$VERSION
+cd -
+
# Rename to avoid conflicts with id software's doom.wad and doom2.wad.
# zdoom will correctly find the files with these names, according to
# http://remilia.zdoom.org/wiki/IWAD