diff options
author | Andrew Clemons <andrew.clemons@gmail.com> | 2022-02-07 10:30:56 +1300 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-02-07 23:02:02 +0700 |
commit | c828de3e443ba1e473a361f8674fed88ed1408df (patch) | |
tree | f434ca1c1021911f38e8d6653c206ee36c59313a /desktop | |
parent | 808bea61fb472a704fd38c8d62e3d6b152e1bc30 (diff) |
desktop/light: Compress man pages.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'desktop')
-rw-r--r-- | desktop/light/light.SlackBuild | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/desktop/light/light.SlackBuild b/desktop/light/light.SlackBuild index 4ffac0e3f6a26..d39c917e41f83 100644 --- a/desktop/light/light.SlackBuild +++ b/desktop/light/light.SlackBuild @@ -98,6 +98,7 @@ 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 |