aboutsummaryrefslogtreecommitdiff
path: root/graphics/frescobaldi/frescobaldi.SlackBuild
diff options
context:
space:
mode:
authorMichales Michaloudes <korgie@gmail.com>2014-01-04 05:57:52 +0700
committerErik Hanson <erik@slackbuilds.org>2014-01-07 11:14:00 -0600
commitfdcb69ad13be2d74bf3f7b6c86396c28eff8e99e (patch)
treeeb351bdef4e1c3890545fa6892983a23188472f6 /graphics/frescobaldi/frescobaldi.SlackBuild
parent97f8a91699eae08f7af1216d21b4836f2fea9257 (diff)
graphics/frescobaldi: Updated for version 2.0.13.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'graphics/frescobaldi/frescobaldi.SlackBuild')
-rw-r--r--graphics/frescobaldi/frescobaldi.SlackBuild16
1 files changed, 11 insertions, 5 deletions
diff --git a/graphics/frescobaldi/frescobaldi.SlackBuild b/graphics/frescobaldi/frescobaldi.SlackBuild
index c12fcdc522344..a2b139657ee26 100644
--- a/graphics/frescobaldi/frescobaldi.SlackBuild
+++ b/graphics/frescobaldi/frescobaldi.SlackBuild
@@ -4,7 +4,7 @@
PRGNAM=frescobaldi
-VERSION=${VERSION:-2.0.8}
+VERSION=${VERSION:-2.0.13}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -45,10 +45,10 @@ tar -xzvf $CWD/$PRGNAM-$VERSION.tar.gz || exit 1
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 {} \;
mkdir -p $PKG/usr/bin
python setup.py install --prefix=$PKG/usr
@@ -56,6 +56,12 @@ python setup.py install --prefix=$PKG/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
+mkdir -p $PKG/usr/man
+mv $PKG/usr/share/man* $PKG/usr/
+
+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
cd $TMP/$PRGNAM-$VERSION
cp -a \