diff options
author | B. Watson <yalhcru@gmail.com> | 2021-10-20 13:28:21 -0400 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2021-10-29 17:07:20 +0700 |
commit | 285d59bcf65c2cda80babe0160173a23b945bf3d (patch) | |
tree | aaf8ed2554f39efc2511d53b89733e863839ac60 | |
parent | 9f6b162a70ab524a064f05d67bde958470e66766 (diff) |
games/heretic_shareware_data: Include docs in package.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r-- | games/heretic_shareware_data/README | 7 | ||||
-rw-r--r-- | games/heretic_shareware_data/heretic_shareware_data.SlackBuild | 33 | ||||
-rw-r--r-- | games/heretic_shareware_data/heretic_shareware_data.info | 4 |
3 files changed, 22 insertions, 22 deletions
diff --git a/games/heretic_shareware_data/README b/games/heretic_shareware_data/README index 4342997af664..4cc15a1726a0 100644 --- a/games/heretic_shareware_data/README +++ b/games/heretic_shareware_data/README @@ -1,5 +1,8 @@ +heretic_shareware_data (shareware Heretic game data) + Game data from the shareware release of Heretic (heretic1.wad, v1.2). Includes only the first episode of the game. -You'll need a Doom engine that's capable of playing Heretic to use this. -zdoom will work; prboom, prboom-plus, odamex, and skulltag won't. +You'll need a Doom engine that's capable of playing Heretic to use +this. zdoom and gzdoom will work; prboom, prboom-plus, odamex, and +skulltag won't. diff --git a/games/heretic_shareware_data/heretic_shareware_data.SlackBuild b/games/heretic_shareware_data/heretic_shareware_data.SlackBuild index 0df928a97b7a..169d0af786f9 100644 --- a/games/heretic_shareware_data/heretic_shareware_data.SlackBuild +++ b/games/heretic_shareware_data/heretic_shareware_data.SlackBuild @@ -6,19 +6,21 @@ # Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. +# 20211020 bkw: BUILD=2 +# - only extract the files we actually install +# - don't create *.1 *.2 files, saves almost 3MB in $TMP. +# - include readme and license docs. + cd $(dirname $0) ; CWD=$(pwd) PRGNAM=heretic_shareware_data VERSION=${VERSION:-1.2} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} 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,23 +38,18 @@ cd $TMP rm -rf $PRGNAM-$VERSION mkdir -p $PRGNAM-$VERSION cd $PRGNAM-$VERSION -unzip $CWD/htic_v12.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 {} \; - -cat HTIC_V12.1 HTIC_V12.2 > htic.zip -unzip htic.zip +unzip -p $CWD/htic_v12.zip '*.1' '*.2' > htic.zip +unzip -a -L htic.zip '*.wad' readme.txt license.doc +mv license.doc license.doc.txt mkdir -p $PKG/usr/share/games/doom -install -m0644 HERETIC1.WAD $PKG/usr/share/games/doom/heretic1.wad +install -m0644 -oroot -groot heretic1.wad $PKG/usr/share/games/doom/ -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cat $CWD/README > $PKG/usr/doc/$PRGNAM-$VERSION/README -cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild +PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION +mkdir -p $PKGDOC +install -m0644 -oroot -groot *.txt $PKGDOC +cat $CWD/README > $PKGDOC/README +cat $CWD/$PRGNAM.SlackBuild > $PKGDOC/$PRGNAM.SlackBuild mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc diff --git a/games/heretic_shareware_data/heretic_shareware_data.info b/games/heretic_shareware_data/heretic_shareware_data.info index 3134c15f8228..f66d2869ecce 100644 --- a/games/heretic_shareware_data/heretic_shareware_data.info +++ b/games/heretic_shareware_data/heretic_shareware_data.info @@ -1,7 +1,7 @@ PRGNAM="heretic_shareware_data" VERSION="1.2" -HOMEPAGE="http://idsoftware.com" -DOWNLOAD="http://ponce.cc/slackware/sources/repo/htic_v12.zip" +HOMEPAGE="https://idsoftware.com" +DOWNLOAD="https://ftp.gwdg.de/pub/misc/ftp.idsoftware.com/idstuff/heretic/htic_v12.zip" MD5SUM="420b23b3d8f2cbd164c121369eaa2b09" DOWNLOAD_x86_64="" MD5SUM_x86_64="" |