summaryrefslogtreecommitdiff
path: root/graphics/pho/pho.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/pho/pho.SlackBuild')
-rw-r--r--graphics/pho/pho.SlackBuild13
1 files changed, 6 insertions, 7 deletions
diff --git a/graphics/pho/pho.SlackBuild b/graphics/pho/pho.SlackBuild
index 0f977b083a..4e50515065 100644
--- a/graphics/pho/pho.SlackBuild
+++ b/graphics/pho/pho.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for Pho
-# Written by Zbigniew Baniewski, zb@ispid.com.pl
+# Written by Zbigniew Baniewski, <Zbigniew [dot] Baniewski [at] gmail [dot] com>
PRGNAM=pho
VERSION=${VERSION:-0.9.8}
@@ -46,10 +46,10 @@ tar zxvf $CWD/${PRGNAM}-${VERSION}.tar.gz
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 {} \;
# Change prefix + CFLAGS in Makefile
sed -i -e "/^INSTALLPREFIX/s|usr/local|usr|" \
@@ -66,8 +66,7 @@ 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 COPYING README ChangeLog TODO \
- $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a COPYING README ChangeLog TODO $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install