summaryrefslogtreecommitdiff
path: root/games/freedoom
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2012-01-15 22:58:12 -0600
committerRobby Workman <rworkman@slackbuilds.org>2012-01-15 22:58:12 -0600
commit950c61091dd97482b917625fcb92eb5a8acc72b7 (patch)
tree0f5f379824106b88a7e9fd2d17b920928fd35a19 /games/freedoom
parent29c2578e2cb4e548d2b5e9bc1ae750cb0ec7dca2 (diff)
downloadslackbuilds-950c61091dd97482b917625fcb92eb5a8acc72b7.tar.gz
games/freedoom: Added (free replacement for Doom/Doom2 game data)
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'games/freedoom')
-rw-r--r--games/freedoom/README23
-rw-r--r--games/freedoom/freedoom.SlackBuild54
-rw-r--r--games/freedoom/freedoom.info14
-rw-r--r--games/freedoom/slack-desc19
4 files changed, 110 insertions, 0 deletions
diff --git a/games/freedoom/README b/games/freedoom/README
new file mode 100644
index 0000000000..691695a892
--- /dev/null
+++ b/games/freedoom/README
@@ -0,0 +1,23 @@
+freedoom (Free Software replacement for Doom/Doom2 game data)
+
+The Freedoom project aims to create a complete Doom-based game which is
+Free Software. Combined with a free source port, people will also be
+able to play the back catalog of extensions made to Doom by hobbyists
+over the last 15 years.
+
+Freedoom requires a Doom engine to play, such as zdoom (available from
+slackbuilds.org). It does NOT require the original Doom or Doom II IWAD
+files, since it is a replacement for them.
+
+This package installs 3 wad files in /usr/share/games/doom:
+
+freedoom.wad - Replacement IWAD for Doom II.
+freedoomu.wad - Same data as freedoom.wad, but in Doom I compatible form.
+freedm.wad - Standalone deathmatch-only level pack.
+
+To use these data files with zdoom, simply build and install this package.
+You will be prompted for which IWAD file to use (which game to play) when
+starting zdoom. Other Doom source ports may do the same, or may require
+a command-line option to set the IWAD file. Some engines may require
+symlinking "freedoom.wad" to "doom2.wad" and "freedoomu.wad" to "doom.wad".
+
diff --git a/games/freedoom/freedoom.SlackBuild b/games/freedoom/freedoom.SlackBuild
new file mode 100644
index 0000000000..75d026fc4c
--- /dev/null
+++ b/games/freedoom/freedoom.SlackBuild
@@ -0,0 +1,54 @@
+#!/bin/sh
+
+# Slackware build script for freedoom
+
+# Written by B. Watson (yalhcru@gmail.com)
+
+PRGNAM=freedoom
+VERSION=${VERSION:-0.7}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+
+ARCH=noarch
+
+CWD=$(pwd)
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+mkdir -p $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
+ 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
+done
+
+# 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
+
+cd $PKG/usr/share/games/doom
+mv doom.wad freedoomu.wad
+mv doom2.wad freedoom.wad
+
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+cat $CWD/README > $PKG/usr/doc/$PRGNAM-$VERSION/README
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/games/freedoom/freedoom.info b/games/freedoom/freedoom.info
new file mode 100644
index 0000000000..6fe8e18614
--- /dev/null
+++ b/games/freedoom/freedoom.info
@@ -0,0 +1,14 @@
+PRGNAM="freedoom"
+VERSION="0.7"
+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_x86_64=""
+MD5SUM_x86_64=""
+MAINTAINER="B. Watson"
+EMAIL="yalhcru@gmail.com"
+APPROVED="rworkman"
diff --git a/games/freedoom/slack-desc b/games/freedoom/slack-desc
new file mode 100644
index 0000000000..60a648b8c0
--- /dev/null
+++ b/games/freedoom/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description. Line
+# up the first '|' above the ':' following the base package name, and the '|'
+# on the right side marks the last column you can put a character in. You must
+# make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':'.
+
+ |-----handy-ruler------------------------------------------------------|
+freedoom: freedoom (Free Software replacement for Doom/Doom2 game data)
+freedoom:
+freedoom: The Freedoom project aims to create a complete Doom-based game which is
+freedoom: Free Software. Combined with a free source port, people will also be
+freedoom: able to play the back catalog of extensions made to Doom by hobbyists
+freedoom: over the last 15 years.
+freedoom:
+freedoom:
+freedoom:
+freedoom:
+freedoom: