diff options
author | Andrew Clemons <andrew.clemons@gmail.com> | 2021-08-22 16:40:30 +1200 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2021-08-25 12:11:31 +0700 |
commit | 63db34ffa6621354bb64c91911b4ce9498d4d750 (patch) | |
tree | 5d1d22d7d4228a696cff7d55f94273bd7aa81c39 /libraries/libxls | |
parent | f961edc4a81e5b0953fc3feeb1bf37291646812d (diff) | |
download | slackbuilds-63db34ffa6621354bb64c91911b4ce9498d4d750.tar.gz |
libraries/libxls: Compress manpages.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/libxls')
-rw-r--r-- | libraries/libxls/libxls.SlackBuild | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libraries/libxls/libxls.SlackBuild b/libraries/libxls/libxls.SlackBuild index a53e98d5a3..8505182880 100644 --- a/libraries/libxls/libxls.SlackBuild +++ b/libraries/libxls/libxls.SlackBuild @@ -98,6 +98,9 @@ make install DESTDIR=$PKG find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true +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 AUTHORS $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild |