aboutsummaryrefslogtreecommitdiff
path: root/libraries/libgda/libgda.SlackBuild
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-05-01 10:38:29 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-05-01 10:38:29 +0700
commit88d2ab3262cba221585054e0a5e3bf1522601bf7 (patch)
tree5d2859e8f07da5d070cf0bc7aa698c3f41d22173 /libraries/libgda/libgda.SlackBuild
parent1ffe6525939c9b931c8c092b38320051aca7e52b (diff)
libraries/libgda: Compress man page.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/libgda/libgda.SlackBuild')
-rw-r--r--libraries/libgda/libgda.SlackBuild11
1 files changed, 6 insertions, 5 deletions
diff --git a/libraries/libgda/libgda.SlackBuild b/libraries/libgda/libgda.SlackBuild
index 201b00dc9589..81828266eb10 100644
--- a/libraries/libgda/libgda.SlackBuild
+++ b/libraries/libgda/libgda.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for libgda
-# Copyright 2012-2013 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
+# Copyright 2012-2014 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -24,7 +24,7 @@
PRGNAM=libgda
VERSION=${VERSION:-5.2.2}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -90,10 +90,11 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
mv $PKG/etc/libgda-5.0/config $PKG/etc/libgda-5.0/config.new
+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 \
- AUTHORS COPYING* ChangeLog INSTALL NEWS README \
- $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a AUTHORS COPYING* ChangeLog INSTALL NEWS README $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install