summaryrefslogtreecommitdiff
path: root/games/dungeon
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2021-10-06 15:07:50 -0400
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-10-13 00:52:35 +0700
commitbb4987c37146b0839821eb9df5298c4eb7881bdf (patch)
tree1744ab650f29c9e965c6475929d41abbea982df8 /games/dungeon
parentf61c55cdf5a58bfa75888ba901f2cff086f887a0 (diff)
downloadslackbuilds-bb4987c37146b0839821eb9df5298c4eb7881bdf.tar.gz
games/dungeon: Fix -current build.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/dungeon')
-rw-r--r--games/dungeon/dungeon.SlackBuild10
1 files changed, 5 insertions, 5 deletions
diff --git a/games/dungeon/dungeon.SlackBuild b/games/dungeon/dungeon.SlackBuild
index b1be11bcf7..ef639c011a 100644
--- a/games/dungeon/dungeon.SlackBuild
+++ b/games/dungeon/dungeon.SlackBuild
@@ -6,11 +6,13 @@
# 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