aboutsummaryrefslogtreecommitdiff
path: root/games/hexen_demo_data
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2021-10-20 13:36:23 -0400
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-10-29 17:07:20 +0700
commit74ba4c12fe6a376c6ed8187688b561c9a8f6c750 (patch)
treec0a96f842228d0a06aa1d5a558e44270999bb1ac /games/hexen_demo_data
parent285d59bcf65c2cda80babe0160173a23b945bf3d (diff)
games/hexen_demo_data: Minor build tweaks.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/hexen_demo_data')
-rw-r--r--games/hexen_demo_data/README5
-rw-r--r--games/hexen_demo_data/hexen_demo_data.SlackBuild18
-rw-r--r--games/hexen_demo_data/hexen_demo_data.info4
-rw-r--r--games/hexen_demo_data/slack-desc2
4 files changed, 12 insertions, 17 deletions
diff --git a/games/hexen_demo_data/README b/games/hexen_demo_data/README
index 70381e0c139c4..d17dc25bfd9e1 100644
--- a/games/hexen_demo_data/README
+++ b/games/hexen_demo_data/README
@@ -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.
diff --git a/games/hexen_demo_data/hexen_demo_data.SlackBuild b/games/hexen_demo_data/hexen_demo_data.SlackBuild
index 63d2b2ad48684..7569263b8c027 100644
--- a/games/hexen_demo_data/hexen_demo_data.SlackBuild
+++ b/games/hexen_demo_data/hexen_demo_data.SlackBuild
@@ -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
diff --git a/games/hexen_demo_data/hexen_demo_data.info b/games/hexen_demo_data/hexen_demo_data.info
index 85b3d44c1a628..b1742d1651dfb 100644
--- a/games/hexen_demo_data/hexen_demo_data.info
+++ b/games/hexen_demo_data/hexen_demo_data.info
@@ -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=""
diff --git a/games/hexen_demo_data/slack-desc b/games/hexen_demo_data/slack-desc
index 9be684d99f295..36a80fd0b0829 100644
--- a/games/hexen_demo_data/slack-desc
+++ b/games/hexen_demo_data/slack-desc
@@ -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: