aboutsummaryrefslogtreecommitdiff
path: root/games/enigma/enigma.SlackBuild
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2018-09-15 18:14:09 -0400
committerDavid Spencer <idlemoor@slackbuilds.org>2018-09-21 23:51:08 +0100
commit07c0dfd0327d2ac88d5f7780c5afaf44bf8b455d (patch)
tree592b90e53735edad8a3f310d29eca635fffe8211 /games/enigma/enigma.SlackBuild
parent4cfac2bef7ccbd1636f4a0ac4e5b1def75ecb059 (diff)
games/enigma: Minor nitpicks.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Diffstat (limited to 'games/enigma/enigma.SlackBuild')
-rw-r--r--games/enigma/enigma.SlackBuild15
1 files changed, 6 insertions, 9 deletions
diff --git a/games/enigma/enigma.SlackBuild b/games/enigma/enigma.SlackBuild
index 22fc6e659ab38..93ca9b2aab47f 100644
--- a/games/enigma/enigma.SlackBuild
+++ b/games/enigma/enigma.SlackBuild
@@ -3,11 +3,11 @@
# Slackware build script for enigma
# Formerly maintained by:
-# Ryan P.C. McQuen | Everett, WA | ryanpcmcquen@member.fsf.org
+# Ryan P.C. McQuen | Everett, WA | <email removed>
# Now maintained by B. Watson (yalhcru@gmail.com)
-# Copyright 2010 Binh Nguyen <binhvng@gmail.com>
+# Copyright 2010 Binh Nguyen <email removed>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -27,6 +27,7 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20180915 bkw: minor nitpicks
# 20170309 bkw:
# - take over maintenance
# - i486 => i586
@@ -73,11 +74,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" \
@@ -92,8 +90,7 @@ CXXFLAGS="$SLKCFLAGS" \
--build=$ARCH-slackware-linux
mkdir -p $PKG/usr/games
-make
-make install \
+make all install \
prefix=$PKG/usr \
localstatedir=$PKG/var/games \
bindir=$PKG/usr/games