diff options
-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 |