diff options
Diffstat (limited to 'games/dungeon')
-rw-r--r-- | games/dungeon/README | 26 | ||||
-rw-r--r-- | games/dungeon/dungeon.SlackBuild | 22 | ||||
-rw-r--r-- | games/dungeon/dungeon.info | 4 |
3 files changed, 31 insertions, 21 deletions
diff --git a/games/dungeon/README b/games/dungeon/README index e0f829af0d..192e46be7d 100644 --- a/games/dungeon/README +++ b/games/dungeon/README @@ -1,21 +1,21 @@ dungeon (text adventure game) -This "mainframe zork" has everything contained in the commercial ZORK I, -part of ZORK II, and the endgame from ZORK III. Some mainframe computers -don't have this full version, so if your mainframe doesn't have the -endgame, the Bank of Zork, and the puzzle room, you are in for some -new challenges. +This "mainframe zork" has everything contained in the commercial ZORK +I, part of ZORK II, and the endgame from ZORK III. Some mainframe +computers don't have this full version, so if your mainframe doesn't +have the endgame, the Bank of Zork, and the puzzle room, you are in for +some new challenges. -This version of Dungeon seems to be earlier than any of the ones available -at www.if-archive.org. It was posted to USEnet ages ago. This build -uses slightly modified sources, needed to get modern GNU Fortran to -compile them. +This version of Dungeon seems to be earlier than any of the ones +available at www.if-archive.org. It was posted to USEnet ages ago. This +build uses slightly modified sources, needed to get modern GNU Fortran +to compile them. -BTW, the source files say copyright INFOCOM, but allow non-commercial use. -This was the last version before INFOCOM went commercial. +BTW, the source files say copyright INFOCOM, but allow non-commercial +use. This was the last version before INFOCOM went commercial. This build includes the game map in /usr/doc/dungeon-$VERSION You can build a debugging (aka cheating) version of Dungeon by passing -DEBUG=yes in the script's environment. This enables tracing and the -GDT command. +DEBUG=yes in the script's environment. This enables tracing and the GDT +command. diff --git a/games/dungeon/dungeon.SlackBuild b/games/dungeon/dungeon.SlackBuild index baac69f91f..1a43f9f554 100644 --- a/games/dungeon/dungeon.SlackBuild +++ b/games/dungeon/dungeon.SlackBuild @@ -1,15 +1,20 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for dungeon -# 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. +# 20211006 bkw: BUILD=3, fix -current build. + +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=dungeon VERSION=${VERSION:-19800808} -BUILD=${BUILD:-2} +BUILD=${BUILD:-3} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -19,7 +24,11 @@ if [ -z "$ARCH" ]; then esac fi -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} @@ -55,10 +64,11 @@ rm -rf $PRGNAM-$VERSION tar xvf $CWD/$PRGNAM-$VERSION.tar.gz cd $PRGNAM-$VERSION chown -R root:root . +chmod 644 * [ "${DEBUG:-no}" = "yes" ] && DFLAG='DEBUG=1' -make FFLAGS="$SLKCFLAGS" $DFLAG +make FFLAGS="$SLKCFLAGS -fallow-invalid-boz" $DFLAG make install DESTDIR=$PKG mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION @@ -69,4 +79,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/dungeon/dungeon.info b/games/dungeon/dungeon.info index 422720a1fd..7bb34596b5 100644 --- a/games/dungeon/dungeon.info +++ b/games/dungeon/dungeon.info @@ -1,7 +1,7 @@ PRGNAM="dungeon" VERSION="19800808" HOMEPAGE="http://almy.us/dungeon.html" -DOWNLOAD="http://urchlay.naptime.net/~urchlay/src/dungeon-19800808.tar.gz \ +DOWNLOAD="https://slackware.uk/~urchlay/src/dungeon-19800808.tar.gz \ http://almy.us/image/dungeon.jpg" MD5SUM="331f6fc1e02ba78ce7cb29a77fc0fe31 \ 1448fc6d9cae7f5b51660d304aa117b5" @@ -9,4 +9,4 @@ DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" MAINTAINER="B. Watson" -EMAIL="yalhcru@gmail.com" +EMAIL="urchlay@slackware.uk" |