summaryrefslogtreecommitdiff
path: root/perl/perl-Path-Class
diff options
context:
space:
mode:
Diffstat (limited to 'perl/perl-Path-Class')
-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 b0d4be0d73..1da00f63fa 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 8271ce5f3d..3ae848b0d1 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=""