games/freedoom: Added (free replacement for Doom/Doom2 game data)

Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
This commit is contained in:
B. Watson 2012-01-15 22:58:12 -06:00 committed by Robby Workman
parent 29c2578e2c
commit 950c61091d
4 changed files with 110 additions and 0 deletions

23
games/freedoom/README Normal file
View file

@ -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".

View file

@ -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}

View file

@ -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"

19
games/freedoom/slack-desc Normal file
View file

@ -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: