summaryrefslogtreecommitdiff
path: root/games/cowsay/cowsay.SlackBuild
diff options
context:
space:
mode:
authorJohannes Schoepfer <slackbuilds@schoepfer.info>2020-01-31 21:56:43 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2020-01-31 21:56:43 +0700
commit9224ee8d832c9a99f36b47e1f21db913d91d9198 (patch)
treeb3ea029fc46f852b714a2407f71bcb44b7da6bc3 /games/cowsay/cowsay.SlackBuild
parent23b9318b53192ec4203efe7179bbb1c51c13a7d5 (diff)
downloadslackbuilds-9224ee8d832c9a99f36b47e1f21db913d91d9198.tar.gz
games/cowsay: Fix email.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
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 \