games/eduke32_hires_pack: Updated for version 4.0_321

This commit is contained in:
B. Watson 2010-05-12 17:39:13 +02:00 committed by David Somero
parent 54553cabeb
commit 1e68421c88
4 changed files with 52 additions and 22 deletions

View file

@ -9,6 +9,13 @@ original episodes once again.
This package is intended for use with the eduke32 package from
slackbuilds.org, but may also be used with other Duke3D source ports.
Optionally, this package can include the EDuke32 Music Pack, which
provides better-sounding music than the default MIDI soundtrack. To
include the music pack, download the file from:
http://www.duke4.org/files/nightfright/eduke32_mus.zip
...and save it in the same directory as the SlackBuild.
If you've installed this package, but for some reason want to run eduke32
without it, remove the ~/.eduke32/autoload symlink and create an empty
~/.eduke32/autoload directory.
without it, run "eduke32 -noautoload".

View file

@ -5,9 +5,8 @@
# Written by B. Watson (yalhcru@gmail.com)
PRGNAM=eduke32_hires_pack
VERSION=${VERSION:-20070427}
ZIPFILE=dn3d_hrp-27-04-2007.zip
ARCH=${ARCH:-noarch}
VERSION=${VERSION:-4.0_321}
ARCH=noarch
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@ -16,29 +15,45 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
VERMAJOR=$( echo $VERSION | cut -d_ -f1 )
VERMINOR=$( echo $VERSION | cut -d_ -f2 )
ZIPFILE="dn3d_hrp-${VERMAJOR}(${VERMINOR}).zip"
set -e
rm -rf $PKG
mkdir -p $TMP $PKG/usr/share/games/eduke32 $OUTPUT
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
mkdir $PRGNAM-$VERSION
cd $PRGNAM-$VERSION
unzip $CWD/$ZIPFILE
chmod 644 *.*
chmod 755 autoload autoload/duke3d.grp
# 20080810 bkw: sd_duke stuff doesn't seem to work
rm -f sd_duke.*
chown -R root:root .
find . -type d | xargs chmod 755
find . -type f | xargs chmod 644
mkdir -p $PKG/usr/share/games/eduke32
mv autoload $PKG/usr/share/games/eduke32/autoload
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a *.txt *.TXT $PKG/usr/doc/$PRGNAM-$VERSION
# If they have the music pack, include that too
if [ -r $CWD/eduke32_mus.zip ]; then
unzip $CWD/eduke32_mus.zip music_readme.txt
cat music_readme.txt > $PKG/usr/doc/$PRGNAM-$VERSION/music_readme.txt
cat $CWD/eduke32_mus.zip > \
$PKG/usr/share/games/eduke32/autoload/duke3d.grp/eduke32_mus.zip
fi
cp *.txt $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
cat $CWD/README > $PKG/usr/doc/$PRGNAM-$VERSION/README
# De-windows-ize the docs
sed -i -s -e "s/\\x92/'/g" \
-e 's/\x96/-/g' \
-e 's/\r//g' \
$PKG/usr/doc/$PRGNAM-$VERSION/*.txt
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc

View file

@ -1,8 +1,8 @@
PRGNAM="eduke32_hires_pack"
VERSION="20070427"
VERSION="4.0_321"
HOMEPAGE="http://hrp.duke4.net/"
DOWNLOAD="http://moreplease.free.fr/HRP/Parkar/dn3d_hrp-27-04-2007.zip"
MD5SUM="007542782217d08a7da4c063935708eb"
DOWNLOAD="http://www.duke4.org/files/hrp/dn3d_hrp-4.0(321).zip"
MD5SUM="01ec2c1d9be94bcb556c910814f2b85f"
MAINTAINER="B. Watson"
EMAIL="yalhcru@gmail.com"
APPROVED="David Somero"
APPROVED="dsomero"

View file

@ -1,11 +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------------------------------------------------------|
eduke32_hires_pack: eduke32_hires_pack (Duke3D High Resolution Pack)
eduke32_hires_pack: The Duke3D High Resolution Pack allows you to use much better looking
eduke32_hires_pack: textures than the original game (released back in 1996) had to offer
eduke32_hires_pack: in the first place. It also introduces 3D model replacements for the
eduke32_hires_pack: old enemies/weapons/items sprites. In combination with an OpenGL port
eduke32_hires_pack: like JFDuke3D or EDuke32, this gives Duke Nukem 3D a modernized, more
eduke32_hires_pack: appealing look and even motivates Duke veterans to play through the
eduke32_hires_pack: original episodes once again.
eduke32_hires_pack: in the first place. It also introduces 3D model replacements for
eduke32_hires_pack: the old enemies/weapons/items sprites. In combination with an OpenGL
eduke32_hires_pack: port like JFDuke3D or EDuke32, this gives Duke Nukem 3D a modernized,
eduke32_hires_pack: more appealing look and even motivates Duke veterans to play through
eduke32_hires_pack: the original episodes once again.
eduke32_hires_pack:
eduke32_hires_pack: This package is intended for use with the eduke32 package from
eduke32_hires_pack: slackbuilds.org, but may also be used with other Duke3D source ports.