diff options
author | B. Watson <yalhcru@gmail.com> | 2021-10-05 16:26:04 -0400 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2021-10-13 00:52:35 +0700 |
commit | 01aac2006b0dfc35b8338d30124d5ac3d527cf24 (patch) | |
tree | 866635ec7b9d29a4b8c6094498d7056e90902960 /games/doom_shareware_data | |
parent | 7b9a9fa9072f3029b90bd6317d87e991ec29f018 (diff) |
games/doom_shareware_data: Update URLs.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/doom_shareware_data')
-rw-r--r-- | games/doom_shareware_data/README | 7 | ||||
-rw-r--r-- | games/doom_shareware_data/doom_shareware_data.SlackBuild | 18 | ||||
-rw-r--r-- | games/doom_shareware_data/doom_shareware_data.info | 4 |
3 files changed, 14 insertions, 15 deletions
diff --git a/games/doom_shareware_data/README b/games/doom_shareware_data/README index 33a110319588f..ff00fc881ce4a 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 63fd7ca72dedc..46f4523410889 100644 --- a/games/doom_shareware_data/doom_shareware_data.SlackBuild +++ b/games/doom_shareware_data/doom_shareware_data.SlackBuild @@ -6,6 +6,9 @@ # 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 @@ -16,9 +19,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,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 diff --git a/games/doom_shareware_data/doom_shareware_data.info b/games/doom_shareware_data/doom_shareware_data.info index a970ff061342e..2f5497a0b667a 100644 --- a/games/doom_shareware_data/doom_shareware_data.info +++ b/games/doom_shareware_data/doom_shareware_data.info @@ -1,7 +1,7 @@ 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="" |