aboutsummaryrefslogtreecommitdiff
path: root/perl
diff options
context:
space:
mode:
authorDavid Spencer <baildon.research@googlemail.com>2015-12-04 17:15:44 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-01-17 09:40:16 +0700
commit0e392c034870103c67cded61d30043c194f8bbf7 (patch)
tree22a4cb701de7e3fd2a6d95304782aa7aced74a97 /perl
parentbbe0416592a628b3b80991903a5b29dcb5962229 (diff)
perl/perl-Path-Class: Updated for version 0.35.
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-Path-Class/perl-Path-Class.SlackBuild19
-rw-r--r--perl/perl-Path-Class/perl-Path-Class.info6
2 files changed, 12 insertions, 13 deletions
diff --git a/perl/perl-Path-Class/perl-Path-Class.SlackBuild b/perl/perl-Path-Class/perl-Path-Class.SlackBuild
index b0d4be0d73774..1da00f63fa0b9 100644
--- a/perl/perl-Path-Class/perl-Path-Class.SlackBuild
+++ b/perl/perl-Path-Class/perl-Path-Class.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=perl-Path-Class
-VERSION=${VERSION:-0.33}
+VERSION=${VERSION:-0.35}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -71,15 +71,14 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -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
diff --git a/perl/perl-Path-Class/perl-Path-Class.info b/perl/perl-Path-Class/perl-Path-Class.info
index 8271ce5f3df5e..3ae848b0d14f0 100644
--- a/perl/perl-Path-Class/perl-Path-Class.info
+++ b/perl/perl-Path-Class/perl-Path-Class.info
@@ -1,8 +1,8 @@
PRGNAM="perl-Path-Class"
-VERSION="0.33"
+VERSION="0.35"
HOMEPAGE="https://metacpan.org/release/Path-Class"
-DOWNLOAD="http://cpan.metacpan.org/authors/id/K/KW/KWILLIAMS/Path-Class-0.33.tar.gz"
-MD5SUM="bac152fffe772252bbcfc2f15dc3bb34"
+DOWNLOAD="http://cpan.metacpan.org/authors/id/K/KW/KWILLIAMS/Path-Class-0.35.tar.gz"
+MD5SUM="575b60a5c5e22e259c1df62a59fdfe85"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""