aboutsummaryrefslogtreecommitdiff
path: root/perl/perl-Pod-Parser
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/perl-Pod-Parser
parentbeddee52ba501b415ca47d2e8bca5e53f6a059d7 (diff)
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/perl-Pod-Parser')
-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 b2fdb4036475..a6dba2646706 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