summaryrefslogtreecommitdiffstats
path: root/games/doom_shareware_data
diff options
context:
space:
mode:
Diffstat (limited to 'games/doom_shareware_data')
-rw-r--r--games/doom_shareware_data/README7
-rw-r--r--games/doom_shareware_data/doom_shareware_data.SlackBuild30
-rw-r--r--games/doom_shareware_data/doom_shareware_data.info6
3 files changed, 26 insertions, 17 deletions
diff --git a/games/doom_shareware_data/README b/games/doom_shareware_data/README
index 33a1103195..ff00fc881c 100644
--- a/games/doom_shareware_data/README
+++ b/games/doom_shareware_data/README
@@ -1,5 +1,8 @@
+doom_shareware_data (game data from the shareware Doom release)
+
Game data from the shareware release of Doom (doom1.wad, v1.9). Includes
only the first episode of the game.
-You'll need a Doom engine to use this. Currently slackbuilds.org offers
-zdoom, prboom, prboom-plus, odamex, and skulltag.
+You'll need a Doom engine to use this. Currently slackbuilds.org
+offers zdoom, prboom, prboom-plus, odamex, chocolate-doom, skulltag,
+and probably a few more.
diff --git a/games/doom_shareware_data/doom_shareware_data.SlackBuild b/games/doom_shareware_data/doom_shareware_data.SlackBuild
index 1d9f5b23bb..91114747e7 100644
--- a/games/doom_shareware_data/doom_shareware_data.SlackBuild
+++ b/games/doom_shareware_data/doom_shareware_data.SlackBuild
@@ -1,19 +1,29 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for doom_shareware_data
-# Written by B. Watson (yalhcru@gmail.com)
+# Written by B. Watson (urchlay@slackware.uk)
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+# 20211005 bkw: original FTP site is gone, use new download link.
+# Also, don't extract the files we don't need.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=doom_shareware_data
VERSION=${VERSION:-1.9}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
ARCH=noarch
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -26,17 +36,13 @@ cd $TMP
rm -rf $PRGNAM-$VERSION
mkdir -p $PRGNAM-$VERSION
cd $PRGNAM-$VERSION
-unzip $CWD/doom19s.zip
+unzip $CWD/doom19s.zip '*.1' '*.2'
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 {} \;
+chmod 644 *
# Zip file is split into 2 chunks
-cat DOOMS_19.1 DOOMS_19.2 > doom.zip
-unzip doom.zip
+cat DOOMS_19.1 DOOMS_19.2 > doomtmp.zip
+unzip doomtmp.zip '*.WAD' 'DMFAQ*.*'
mkdir -p $PKG/usr/share/games/doom
install -m0644 DOOM1.WAD $PKG/usr/share/games/doom/doom1.wad
@@ -50,4 +56,4 @@ 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}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/games/doom_shareware_data/doom_shareware_data.info b/games/doom_shareware_data/doom_shareware_data.info
index a970ff0613..3ee8b39ef8 100644
--- a/games/doom_shareware_data/doom_shareware_data.info
+++ b/games/doom_shareware_data/doom_shareware_data.info
@@ -1,10 +1,10 @@
PRGNAM="doom_shareware_data"
VERSION="1.9"
-HOMEPAGE="ftp://ftp.idsoftware.com/idstuff/doom/doom19s.txt"
-DOWNLOAD="http://ponce.cc/slackware/sources/repo/doom19s.zip"
+HOMEPAGE="https://ftp.gwdg.de/pub/misc/ftp.idsoftware.com/idstuff/doom/doom19s.txt"
+DOWNLOAD="https://ftp.gwdg.de/pub/misc/ftp.idsoftware.com/idstuff/doom/doom19s.zip"
MD5SUM="244d181457c9be5f28b91b488e67e042"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="B. Watson"
-EMAIL="yalhcru@gmail.com"
+EMAIL="urchlay@slackware.uk"