aboutsummaryrefslogtreecommitdiff
path: root/games/dungeon/dungeon.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'games/dungeon/dungeon.SlackBuild')
-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 b1be11bcf797..ef639c011ac9 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