aboutsummaryrefslogtreecommitdiff
path: root/perl/perl-Test-Number-Delta/perl-Test-Number-Delta.SlackBuild
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/perl-Test-Number-Delta/perl-Test-Number-Delta.SlackBuild
parent0e392c034870103c67cded61d30043c194f8bbf7 (diff)
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/perl-Test-Number-Delta/perl-Test-Number-Delta.SlackBuild')
-rw-r--r--perl/perl-Test-Number-Delta/perl-Test-Number-Delta.SlackBuild21
1 files changed, 10 insertions, 11 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 a541af816dbaa..dc9277d953139 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