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>
This commit is contained in:
David Spencer 2015-12-04 17:15:44 +00:00 committed by Willy Sudiarto Raharjo
parent bbe0416592
commit 0e392c0348
2 changed files with 12 additions and 13 deletions

View File

@ -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

View File

@ -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=""