summaryrefslogtreecommitdiff
path: root/games/freedoom
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
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')
-rw-r--r--games/freedoom/freedoom.SlackBuild19
-rw-r--r--games/freedoom/freedoom.info14
2 files changed, 19 insertions, 14 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
diff --git a/games/freedoom/freedoom.info b/games/freedoom/freedoom.info
index 896c4b1d8e..7e9b4dd142 100644
--- a/games/freedoom/freedoom.info
+++ b/games/freedoom/freedoom.info
@@ -1,12 +1,12 @@
PRGNAM="freedoom"
-VERSION="0.7"
+VERSION="0.8"
HOMEPAGE="http://www.nongnu.org/freedoom/"
-DOWNLOAD="http://download.savannah.gnu.org/releases-noredirect/freedoom/freedoom-iwad/freedoom-iwad-0.7.zip \
- http://download.savannah.gnu.org/releases-noredirect/freedoom/freedm/freedm-0.7.zip \
- http://download.savannah.gnu.org/releases-noredirect/freedoom/freedoom-iwad/ultimate/freedoom-ultimate-0.7.zip"
-MD5SUM="80016bd4250b559c06325bd49eb0137e \
- 0825909e208ac29e94dcaddf47ee30fe \
- 87332a582b0d1711a14886924234e1f2"
+DOWNLOAD="https://github.com/freedoom/freedoom/releases/download/v0.8/freedoom-iwad-v0.8.zip \
+ https://github.com/freedoom/freedoom/releases/download/v0.8/freedoom-ultimate-v0.8.zip \
+ https://github.com/freedoom/freedoom/releases/download/v0.8/freedm-v0.8.zip"
+MD5SUM="04cdd4618111fc201abd0a432313c24a \
+ 7ccb8a04c12a0773b1f239502f497f17 \
+ f3c39b41305a46f333945a14859d77c2"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""