summaryrefslogtreecommitdiff
path: root/games/chocolate_duke3D
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2021-10-04 23:04:13 -0400
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-10-13 00:52:34 +0700
commit6f53338c96c82272b47a16645bc628d26a31578d (patch)
treefd53bf8b17adca718459cfd33ace3b1586216b94 /games/chocolate_duke3D
parenta0d4014c491d85063816a985ec300ecad769c8b9 (diff)
downloadslackbuilds-6f53338c96c82272b47a16645bc628d26a31578d.tar.gz
games/chocolate_duke3D: Remove template comment.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/chocolate_duke3D')
-rw-r--r--games/chocolate_duke3D/README2
-rw-r--r--games/chocolate_duke3D/chocolate_duke3D.SlackBuild14
2 files changed, 8 insertions, 8 deletions
diff --git a/games/chocolate_duke3D/README b/games/chocolate_duke3D/README
index 408645bb02..3b9ef785b6 100644
--- a/games/chocolate_duke3D/README
+++ b/games/chocolate_duke3D/README
@@ -1,3 +1,5 @@
+chocolate_duke3D (Faithful Duke Nukem 3D port)
+
Chocolate Duke Nukem 3D is the equivalent of Chocolate Doom.
A port that:
diff --git a/games/chocolate_duke3D/chocolate_duke3D.SlackBuild b/games/chocolate_duke3D/chocolate_duke3D.SlackBuild
index e3451ea490..20d22e3ee9 100644
--- a/games/chocolate_duke3D/chocolate_duke3D.SlackBuild
+++ b/games/chocolate_duke3D/chocolate_duke3D.SlackBuild
@@ -27,6 +27,10 @@
# Now maintained by B. Watson (yalhcru@gmail.com)
+# 20211004 bkw: look at upstream again, the only new commit makes the
+# build include the bundled enet headers instead of the system ones,
+# which we *don't* want. So, don't bother updating again.
+
# 20170313 bkw:
# - i486 => i586
# - actually use SLKCFLAGS
@@ -54,9 +58,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
@@ -89,11 +90,8 @@ rm -rf $PRGNAM-$COMMIT
unzip $CWD/$PRGNAM-$COMMIT.zip
cd $PRGNAM-$COMMIT
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 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
+ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
# Let's compile!
./autogen.sh