aboutsummaryrefslogtreecommitdiff
path: root/development/darcs/darcs.SlackBuild
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-05-15 11:53:11 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-05-15 11:53:42 +0700
commit9a8bede8ab6b882b0e53eb3dc7abb6f93dcebf34 (patch)
tree27e138d3bfccfb29b5ca6b7207d84c9c8db6eecc /development/darcs/darcs.SlackBuild
parentbfe25364870fcd6540ac71814e20f0fd12a91db5 (diff)
development/darcs: Fix perms.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/darcs/darcs.SlackBuild')
-rw-r--r--development/darcs/darcs.SlackBuild9
1 files changed, 5 insertions, 4 deletions
diff --git a/development/darcs/darcs.SlackBuild b/development/darcs/darcs.SlackBuild
index f58f868eeb18b..68e01b78cb439 100644
--- a/development/darcs/darcs.SlackBuild
+++ b/development/darcs/darcs.SlackBuild
@@ -66,10 +66,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 {} \;
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@@ -99,6 +99,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
# manual is missplaced, and Cabal does not support --mandir
mv $PKG/usr/share/man $PKG/usr/man
rmdir $PKG/usr/share
+chmod 644 $PKG/usr/man/man1/*
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