diff options
author | David Spencer <idlemoor@slackbuilds.org> | 2018-02-18 18:06:02 +0000 |
---|---|---|
committer | David Spencer <idlemoor@slackbuilds.org> | 2018-02-18 18:06:02 +0000 |
commit | 43b9ba70334cf015bff7ee5847b0209ef203ddd4 (patch) | |
tree | 4fe39eb6ae2629a490f2731ccb3832026e0ae67e /development | |
parent | d55a71d4fbd7a029e964b8d17b3fbca689f0fe0d (diff) | |
download | slackbuilds-43b9ba70334cf015bff7ee5847b0209ef203ddd4.tar.gz |
development/extra-cmake-modules: Compress manpages.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'development')
-rw-r--r-- | development/extra-cmake-modules/extra-cmake-modules.SlackBuild | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/development/extra-cmake-modules/extra-cmake-modules.SlackBuild b/development/extra-cmake-modules/extra-cmake-modules.SlackBuild index 3bf68cbd3a..3e1a70d7de 100644 --- a/development/extra-cmake-modules/extra-cmake-modules.SlackBuild +++ b/development/extra-cmake-modules/extra-cmake-modules.SlackBuild @@ -86,6 +86,9 @@ cd - 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 -a COPYING-CMAKE-SCRIPTS README.rst $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild |