mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-24 10:02:29 +01:00
games/hexen_demo_data: Minor build tweaks.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
285d59bcf6
commit
74ba4c12fe
4 changed files with 12 additions and 17 deletions
|
@ -1,5 +1,8 @@
|
|||
hexen_demo_data (game data from Hexen demo release)
|
||||
|
||||
Game data from the demo release of Hexen (hexen.wad, v1.1). Includes
|
||||
only the first 4 levels of the game.
|
||||
|
||||
You'll need a Doom engine that's capable of playing Hexen to use this.
|
||||
zdoom will work; prboom, prboom-plus, odamex, and skulltag won't.
|
||||
zdoom and gzdoom will work; prboom, prboom-plus, odamex, and skulltag
|
||||
won't.
|
||||
|
|
|
@ -16,9 +16,6 @@ PKGTYPE=${PKGTYPE:-tgz}
|
|||
|
||||
ARCH=noarch
|
||||
|
||||
# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
|
||||
# the name of the created package would be, and then exit. This information
|
||||
# could be useful to other scripts.
|
||||
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
|
||||
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
|
||||
exit 0
|
||||
|
@ -36,13 +33,7 @@ cd $TMP
|
|||
rm -rf $PRGNAM-$VERSION
|
||||
mkdir -p $PRGNAM-$VERSION
|
||||
cd $PRGNAM-$VERSION
|
||||
unzip $CWD/hexndemo.zip
|
||||
chown -R root:root .
|
||||
find -L . \
|
||||
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
|
||||
-exec chmod 755 {} \; -o \
|
||||
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
|
||||
-exec chmod 644 {} \;
|
||||
unzip -a $CWD/hexndemo.zip '*.WAD' '*.TXT'
|
||||
|
||||
# Install as hexdemo.wad rather than hexen.wad. ZDoom will accept either,
|
||||
# and this way we don't stomp on the hexen.wad from the full version of
|
||||
|
@ -50,9 +41,10 @@ find -L . \
|
|||
mkdir -p $PKG/usr/share/games/doom
|
||||
install -m0644 HEXEN.WAD $PKG/usr/share/games/doom/hexdemo.wad
|
||||
|
||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
sed 's/\r//' README.TXT > $PKG/usr/doc/$PRGNAM-$VERSION/README.txt
|
||||
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
||||
PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION
|
||||
mkdir -p $PKGDOC
|
||||
cat README.TXT > $PKGDOC/README.txt
|
||||
cat $CWD/$PRGNAM.SlackBuild > $PKGDOC/$PRGNAM.SlackBuild
|
||||
|
||||
mkdir -p $PKG/install
|
||||
cat $CWD/slack-desc > $PKG/install/slack-desc
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
PRGNAM="hexen_demo_data"
|
||||
VERSION="1.1"
|
||||
HOMEPAGE="ftp://ftp.idsoftware.com/idstuff/hexen/"
|
||||
DOWNLOAD="http://ponce.cc/slackware/sources/repo/hexndemo.zip"
|
||||
HOMEPAGE="https://www.idsoftware.com"
|
||||
DOWNLOAD="https://ftp.gwdg.de/pub/misc/ftp.idsoftware.com/idstuff/hexen/hexndemo.zip"
|
||||
MD5SUM="b30672df8b41fd35fafe40ce0c3855c3"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
|
|
|
@ -12,7 +12,7 @@ hexen_demo_data: Game data from the demo release of Hexen (hexen.wad, v1.1). Inc
|
|||
hexen_demo_data: only the first 4 levels of the game.
|
||||
hexen_demo_data:
|
||||
hexen_demo_data: You'll need a Doom engine that's capable of playing Hexen to use this.
|
||||
hexen_demo_data: zdoom will work; prboom, prboom-plus, odamex, and skulltag won't.
|
||||
hexen_demo_data: zdoom and gzdoom will work; prboom, prboom-plus, odamex, and skulltag won't.
|
||||
hexen_demo_data:
|
||||
hexen_demo_data:
|
||||
hexen_demo_data:
|
||||
|
|
Loading…
Reference in a new issue