summaryrefslogtreecommitdiff
path: root/games/cowsay/cowsay.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'games/cowsay/cowsay.SlackBuild')
-rw-r--r--games/cowsay/cowsay.SlackBuild16
1 files changed, 7 insertions, 9 deletions
diff --git a/games/cowsay/cowsay.SlackBuild b/games/cowsay/cowsay.SlackBuild
index 39ffbf7104..6c96ce648f 100644
--- a/games/cowsay/cowsay.SlackBuild
+++ b/games/cowsay/cowsay.SlackBuild
@@ -4,7 +4,7 @@
# Written by David Miller dave@frop.net
# Modified by the slackbuilds.org project.
-# Copyright 2017 Johannes Schoepfer
+# Copyright 2017 Johannes Schoepfer, Germany
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -45,10 +45,10 @@ tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
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 {} \;
patch -p1 < $CWD/cowsay.SlackBuild.patch
@@ -58,10 +58,8 @@ sh ./install.sh /usr
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-( cd $PKG/usr/man
- find . -type f -exec gzip -9 {} \;
- for i in $( find . -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
-)
+find $PKG/usr/man -type f -exec gzip -9 {} \;
+for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \