From cd45b3062e814f762961470899a1cf9d999a1697 Mon Sep 17 00:00:00 2001 From: Willy Sudiarto Raharjo Date: Fri, 2 Mar 2018 06:49:07 +0700 Subject: perl/perl-X10: Updated for version 0.04. Signed-off-by: Willy Sudiarto Raharjo --- perl/perl-X10/perl-X10.SlackBuild | 11 ++++++----- perl/perl-X10/perl-X10.info | 6 +++--- 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/perl/perl-X10/perl-X10.SlackBuild b/perl/perl-X10/perl-X10.SlackBuild index 851fc1150ff0..dfec0627aeb6 100644 --- a/perl/perl-X10/perl-X10.SlackBuild +++ b/perl/perl-X10/perl-X10.SlackBuild @@ -25,7 +25,7 @@ SRCNAM=X10 PRGNAM=perl-$SRCNAM -VERSION=${VERSION:-0.03} +VERSION=${VERSION:-0.04} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -74,8 +74,8 @@ find -L . \ perl Makefile.PL \ PREFIX=/usr \ INSTALLDIRS=vendor \ + INSTALLVENDORMAN1DIR=/usr/man/man1 \ INSTALLVENDORMAN3DIR=/usr/man/man3 - make make test make install DESTDIR=$PKG @@ -84,10 +84,11 @@ find $PKG -name "perllocal.pod" -o -name ".packlist" -o -name "*.bs" | xargs r find $PKG -depth -type d -empty -delete || 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 + mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a \ - README TODO Changes \ - $PKG/usr/doc/$PRGNAM-$VERSION +cp -a README TODO Changes $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/perl/perl-X10/perl-X10.info b/perl/perl-X10/perl-X10.info index f1c1d44944e5..32861bf76fb8 100644 --- a/perl/perl-X10/perl-X10.info +++ b/perl/perl-X10/perl-X10.info @@ -1,8 +1,8 @@ PRGNAM="perl-X10" -VERSION="0.03" +VERSION="0.04" HOMEPAGE="https://metacpan.org/pod/X10" -DOWNLOAD="http://www.cpan.org/authors/id/R/RO/ROBF/X10-0.03.tar.gz" -MD5SUM="056b3d98fab545865148b948de6784c7" +DOWNLOAD="https://cpan.metacpan.org/authors/id/R/RO/ROBF/X10-0.04.tar.gz" +MD5SUM="20dcca2dfb978bfed3043276aa3481e5" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="perl-Astro-SunTime perl-Device-SerialPort" -- cgit v1.2.3