aboutsummaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorPetar Petrov <slackalaxy@gmail.com>2021-05-18 17:21:50 +0300
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-05-18 23:40:19 +0700
commit153d1aac5fcf59d3a58342606f0da3448a1039ca (patch)
treeeb928394599484a56e5014b3cc08e2e6e6381165 /games
parenta8c59c472e8a59521c2034ae1f13030e63288d1b (diff)
games/njam: misc cleanups
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games')
-rw-r--r--games/njam/njam.SlackBuild12
1 files changed, 6 insertions, 6 deletions
diff --git a/games/njam/njam.SlackBuild b/games/njam/njam.SlackBuild
index af62b2dfb7f51..7b4bed869586c 100644
--- a/games/njam/njam.SlackBuild
+++ b/games/njam/njam.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for njam
-# Copyright 2012-2016 Petar Petrov slackalaxy@gmail.com
+# Copyright 2012-2021 Petar Petrov slackalaxy@gmail.com
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -24,7 +24,7 @@
PRGNAM=njam
VERSION=${VERSION:-1.25}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -64,10 +64,10 @@ tar xvf $CWD/${PRGNAM}_${VERSION}.orig.tar.gz
cd $PRGNAM-$VERSION-src
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 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
+ \( -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 {} \;
# Thanks to Debian for the patches (and the source tarball!)
patch -p1 < $CWD/patches/changed_hiscore_name.patch