diff options
author | Andrew Clemons <andrew.clemons@gmail.com> | 2021-08-22 21:57:55 +1200 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2021-08-25 12:11:38 +0700 |
commit | b775a8b25ecd130b530edd1c89f19ef3d4d000a0 (patch) | |
tree | df77181e30db5fda1b4fc0283063b315dbe9d435 /perl/perl-Guard/perl-Guard.SlackBuild | |
parent | d2c05adaa33c1739739d1825ab5666dfde315bff (diff) |
perl/perl-Guard: Compress manpages.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'perl/perl-Guard/perl-Guard.SlackBuild')
-rw-r--r-- | perl/perl-Guard/perl-Guard.SlackBuild | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/perl/perl-Guard/perl-Guard.SlackBuild b/perl/perl-Guard/perl-Guard.SlackBuild index 2a6cc185ce87..5c6cbf2c701b 100644 --- a/perl/perl-Guard/perl-Guard.SlackBuild +++ b/perl/perl-Guard/perl-Guard.SlackBuild @@ -94,6 +94,9 @@ make install DESTDIR=$PKG find $PKG -name perllocal.pod -o -name ".packlist" -o -name "*.bs" | xargs rm -f || 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 + find $PKG -depth -type d -empty -delete || true mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION |