summaryrefslogtreecommitdiffstats
path: root/games/knights/knights.SlackBuild
diff options
context:
space:
mode:
author Ryan P.C. McQuen <ryanpcmcquen@gmail.com>2014-04-03 11:39:17 +0700
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2014-04-07 14:43:49 +0700
commit6186c50b029189c77ba0da50d1d76d1273e1e2b9 (patch)
treea1d73530e3c0f3d82991702828b5e58a2c674e54 /games/knights/knights.SlackBuild
parent4203a4e8a9860edf42c0ae1886d6b378d3e6e9b4 (diff)
downloadslackbuilds-6186c50b029189c77ba0da50d1d76d1273e1e2b9.tar.gz
slackbuilds-6186c50b029189c77ba0da50d1d76d1273e1e2b9.tar.xz
games/knights: New Maintainer + Script cleanup.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/knights/knights.SlackBuild')
-rw-r--r--games/knights/knights.SlackBuild13
1 files changed, 7 insertions, 6 deletions
diff --git a/games/knights/knights.SlackBuild b/games/knights/knights.SlackBuild
index 2411604e90..921ce42c31 100644
--- a/games/knights/knights.SlackBuild
+++ b/games/knights/knights.SlackBuild
@@ -3,6 +3,8 @@
# Slackware build script for knights
# Copyright 2011, 2012 Chris Abela, Malta
+# Copyright 2014 Ryan P.C. McQuen, ryan.q@linux.com, WA
+#
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -64,10 +66,10 @@ tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
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 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 {} \;
mkdir -p build
cd build
@@ -86,8 +88,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a \
- DESIGN README* $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a DESIGN README* $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install