diff options
author | Sergei Fedosoff <eleksir@gmail.com> | 2020-11-07 09:07:44 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2020-11-07 09:07:44 +0700 |
commit | 41cdc23d22e455e4a3a1f8c8f7a3be3dd535d20c (patch) | |
tree | 80b739da1025554f92db720e5c3726d484333262 /perl | |
parent | 0f0341de671de14286925ee764c477ff0f5a3526 (diff) | |
download | slackbuilds-41cdc23d22e455e4a3a1f8c8f7a3be3dd535d20c.tar.gz |
perl/perl-Coro: Compress manual pages.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'perl')
-rw-r--r-- | perl/perl-Coro/perl-Coro.SlackBuild | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/perl/perl-Coro/perl-Coro.SlackBuild b/perl/perl-Coro/perl-Coro.SlackBuild index 505c87113c..06c5197b13 100644 --- a/perl/perl-Coro/perl-Coro.SlackBuild +++ b/perl/perl-Coro/perl-Coro.SlackBuild @@ -24,7 +24,7 @@ PRGNAM=perl-Coro VERSION=${VERSION:-6.57} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" @@ -78,14 +78,15 @@ perl Makefile.PL \ INSTALLDIRS=vendor \ INSTALLVENDORMAN1DIR=/usr/man/man1 \ INSTALLVENDORMAN3DIR=/usr/man/man3 + make make test make install DESTDIR=$PKG find $PKG -name perllocal.pod -o -name ".packlist" -o -name "*.bs" | xargs rm -f || true - find $PKG -depth -type d -empty -delete || true +find $PKG/usr/man -type f -exec gzip -9 {} \+ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a Changes COPYING README $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild |