diff options
Diffstat (limited to 'games/doom_shareware_data/doom_shareware_data.SlackBuild')
-rw-r--r-- | games/doom_shareware_data/doom_shareware_data.SlackBuild | 20 |
1 files changed, 8 insertions, 12 deletions
diff --git a/games/doom_shareware_data/doom_shareware_data.SlackBuild b/games/doom_shareware_data/doom_shareware_data.SlackBuild index 63fd7ca72d..91114747e7 100644 --- a/games/doom_shareware_data/doom_shareware_data.SlackBuild +++ b/games/doom_shareware_data/doom_shareware_data.SlackBuild @@ -2,10 +2,13 @@ # 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 @@ -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 |