aboutsummaryrefslogtreecommitdiff
path: root/games/cgmadness/cgmadness.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'games/cgmadness/cgmadness.SlackBuild')
-rw-r--r--games/cgmadness/cgmadness.SlackBuild12
1 files changed, 6 insertions, 6 deletions
diff --git a/games/cgmadness/cgmadness.SlackBuild b/games/cgmadness/cgmadness.SlackBuild
index ab485df091f8a..4a83c41c464b6 100644
--- a/games/cgmadness/cgmadness.SlackBuild
+++ b/games/cgmadness/cgmadness.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for cgmadness
-# Written by Zbigniew Baniewski <zbigniew.baniewski@gmail.com.
+# Written by Zbigniew Baniewski <Zbigniew [dot] Baniewski [at] gmail [dot] com>
PRGNAM=cgmadness
VERSION=1.3
@@ -46,10 +46,10 @@ tar xvf $CWD/$PRGNAM-$VERSION-src.tar.bz2
cd $PRGNAM
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 {} \;
cat $CWD/01-Makefile.patch | patch -p1 || exit 1
@@ -64,7 +64,7 @@ echo "cd /usr/share/games/cgmadness ; ./cgmadness" > $PKG/usr/bin/cgmadness
chmod 0755 $PKG/usr/bin/cgmadness
install -m 0644 $CWD/$PRGNAM.png $PKG/usr/share/pixmaps/$PRGNAM.png
-find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/share/applications