diff options
Diffstat (limited to 'games/knights/knights.SlackBuild')
-rw-r--r-- | games/knights/knights.SlackBuild | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/games/knights/knights.SlackBuild b/games/knights/knights.SlackBuild index 2411604e90c30..921ce42c31f24 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 |