summaryrefslogtreecommitdiff
path: root/perl/perl-X10
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-03-02 06:49:07 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-03-02 06:52:32 +0700
commitcd45b3062e814f762961470899a1cf9d999a1697 (patch)
treec492f9f8d278bed33c0c67dc8caf3f034b2e086b /perl/perl-X10
parent1500a1ebd99ea8ca9a14a7f0e66a857d66fe6b89 (diff)
downloadslackbuilds-cd45b3062e814f762961470899a1cf9d999a1697.tar.gz
perl/perl-X10: Updated for version 0.04.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'perl/perl-X10')
-rw-r--r--perl/perl-X10/perl-X10.SlackBuild11
-rw-r--r--perl/perl-X10/perl-X10.info6
2 files changed, 9 insertions, 8 deletions
diff --git a/perl/perl-X10/perl-X10.SlackBuild b/perl/perl-X10/perl-X10.SlackBuild
index 851fc1150f..dfec0627ae 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 f1c1d44944..32861bf76f 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"