From 6186c50b029189c77ba0da50d1d76d1273e1e2b9 Mon Sep 17 00:00:00 2001 From: "Ryan P.C. McQuen" Date: Thu, 3 Apr 2014 11:39:17 +0700 Subject: games/knights: New Maintainer + Script cleanup. Signed-off-by: Willy Sudiarto Raharjo --- games/knights/knights.SlackBuild | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'games/knights/knights.SlackBuild') 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 -- cgit v1.2.3