summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author B. Watson2021-10-05 04:10:06 +0200
committer Willy Sudiarto Raharjo2021-10-12 19:52:33 +0200
commit8575e99b98140e5da637efd4a883ea1384e1ccc6 (patch)
tree39d9a2793814e282d124f5750168c572f5766deb
parent09ec991ddb49aa660c1630bf8b284d516236995e (diff)
downloadslackbuilds-8575e99b98140e5da637efd4a883ea1384e1ccc6.tar.gz
games/circuslinux: Remove template comment.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--games/circuslinux/README2
-rw-r--r--games/circuslinux/circuslinux.SlackBuild10
2 files changed, 4 insertions, 8 deletions
diff --git a/games/circuslinux/README b/games/circuslinux/README
index 07bf15f0a6..5a02780c0f 100644
--- a/games/circuslinux/README
+++ b/games/circuslinux/README
@@ -1,3 +1,5 @@
+circuslinux (clone of the Atari 2600 game "Circus Atari")
+
"Circus Linux!" is a clone of the Atari 2600 game "Circus Atari,"
produced by Atari, Inc. (which is itself a clone of an earlier arcade
game named, simply "Circus").
diff --git a/games/circuslinux/circuslinux.SlackBuild b/games/circuslinux/circuslinux.SlackBuild
index 2dcb63b75f..8746ed81c0 100644
--- a/games/circuslinux/circuslinux.SlackBuild
+++ b/games/circuslinux/circuslinux.SlackBuild
@@ -23,9 +23,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
@@ -54,11 +51,8 @@ rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
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 {} \+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \