summaryrefslogtreecommitdiff
path: root/perl
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2021-08-22 21:54:51 +1200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-08-25 12:11:38 +0700
commitff5227b795cbc30d0f37312d0a7cfb661d7b2d01 (patch)
tree21eae2450dcc820fb12fa61752255590cc8adc94 /perl
parentbeddee52ba501b415ca47d2e8bca5e53f6a059d7 (diff)
downloadslackbuilds-ff5227b795cbc30d0f37312d0a7cfb661d7b2d01.tar.gz
perl/perl-Pod-Parser: Compress manpages.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'perl')
-rw-r--r--perl/perl-Pod-Parser/perl-Pod-Parser.SlackBuild2
1 files changed, 2 insertions, 0 deletions
diff --git a/perl/perl-Pod-Parser/perl-Pod-Parser.SlackBuild b/perl/perl-Pod-Parser/perl-Pod-Parser.SlackBuild
index b2fdb40364..a6dba26467 100644
--- a/perl/perl-Pod-Parser/perl-Pod-Parser.SlackBuild
+++ b/perl/perl-Pod-Parser/perl-Pod-Parser.SlackBuild
@@ -90,6 +90,8 @@ make
make test
make install DESTDIR=$PKG
+mv $PKG/usr/share/man/man1 $PKG/usr/man
+rm -rf $PKG/usr/share/man
find $PKG/usr/man -type f -exec gzip -9 {} \;
find $PKG -name "perllocal.pod" -o -name ".packlist" -o -name "*.bs" | xargs rm -f || true