summaryrefslogtreecommitdiff
path: root/perl
diff options
context:
space:
mode:
authorDavid Spencer <baildon.research@googlemail.com>2015-12-04 17:17:17 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-01-17 09:40:16 +0700
commit887c4832fc819a8ff8016e914e472906a2f6aa1e (patch)
tree661763d746861ebf1519dba7b63e0d6c3e1ff059 /perl
parent0e392c034870103c67cded61d30043c194f8bbf7 (diff)
downloadslackbuilds-887c4832fc819a8ff8016e914e472906a2f6aa1e.tar.gz
perl/perl-Test-Number-Delta: Updated for version 1.06.
Fixes build with perl-5.22. Signed-off-by: David Spencer <baildon.research@googlemail.com> Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'perl')
-rw-r--r--perl/perl-Test-Number-Delta/perl-Test-Number-Delta.SlackBuild21
-rw-r--r--perl/perl-Test-Number-Delta/perl-Test-Number-Delta.info6
2 files changed, 13 insertions, 14 deletions
diff --git a/perl/perl-Test-Number-Delta/perl-Test-Number-Delta.SlackBuild b/perl/perl-Test-Number-Delta/perl-Test-Number-Delta.SlackBuild
index a541af816d..dc9277d953 100644
--- a/perl/perl-Test-Number-Delta/perl-Test-Number-Delta.SlackBuild
+++ b/perl/perl-Test-Number-Delta/perl-Test-Number-Delta.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=perl-Test-Number-Delta
-VERSION=${VERSION:-1.03}
+VERSION=${VERSION:-1.06}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -71,15 +71,14 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
-perl Build.PL \
- prefix=/usr \
- installdirs=vendor \
- destdir=$PKG
-./Build
-./Build test
-./Build install \
- --install_path bindoc=/usr/man/man1 \
- --install_path libdoc=/usr/man/man3
+perl Makefile.PL \
+ PREFIX=/usr \
+ INSTALLDIRS=vendor \
+ INSTALLVENDORMAN1DIR=/usr/man/man1 \
+ INSTALLVENDORMAN3DIR=/usr/man/man3
+make
+make test
+make install DESTDIR=$PKG
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
@@ -93,7 +92,7 @@ find $PKG -depth -type d -empty -delete || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
- Changes LICENSE README Todo \
+ CONTRIBUTING.mkdn Changes LICENSE README \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
diff --git a/perl/perl-Test-Number-Delta/perl-Test-Number-Delta.info b/perl/perl-Test-Number-Delta/perl-Test-Number-Delta.info
index 5f91e8a816..26fb9c32e2 100644
--- a/perl/perl-Test-Number-Delta/perl-Test-Number-Delta.info
+++ b/perl/perl-Test-Number-Delta/perl-Test-Number-Delta.info
@@ -1,8 +1,8 @@
PRGNAM="perl-Test-Number-Delta"
-VERSION="1.03"
+VERSION="1.06"
HOMEPAGE="https://metacpan.org/pod/Test::Number::Delta"
-DOWNLOAD="http://www.cpan.org/authors/id/D/DA/DAGOLDEN/Test-Number-Delta-1.03.tar.gz"
-MD5SUM="17d3eec2d5bbe012c4a797af8e75ae39"
+DOWNLOAD="http://www.cpan.org/authors/id/D/DA/DAGOLDEN/Test-Number-Delta-1.06.tar.gz"
+MD5SUM="f0d420e7f679a0bc593713d21c25f51e"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""