summaryrefslogtreecommitdiffstats
path: root/games/dungeon/dungeon.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'games/dungeon/dungeon.SlackBuild')
-rw-r--r--games/dungeon/dungeon.SlackBuild12
1 files changed, 6 insertions, 6 deletions
diff --git a/games/dungeon/dungeon.SlackBuild b/games/dungeon/dungeon.SlackBuild
index b1be11bcf7..1a43f9f554 100644
--- a/games/dungeon/dungeon.SlackBuild
+++ b/games/dungeon/dungeon.SlackBuild
@@ -2,15 +2,17 @@
# 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}
@@ -22,9 +24,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-# 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
@@ -65,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