summaryrefslogtreecommitdiff
path: root/perl/perl-Path-Class
diff options
context:
space:
mode:
authorDonald Cooley <chytraeu@sdf.org>2016-07-25 21:41:06 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-07-25 21:41:06 +0700
commit9b216c674b95ed8183add92e990ea0be759e5ec2 (patch)
tree60fd29417a35c0c01ce08e79c76ba91cecb9f8e3 /perl/perl-Path-Class
parentb6204cb2dba1c6f13f9fb3c0e2fc5dda3529b740 (diff)
downloadslackbuilds-9b216c674b95ed8183add92e990ea0be759e5ec2.tar.gz
perl/perl-Path-Class: Updated for version 0.36.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'perl/perl-Path-Class')
-rw-r--r--perl/perl-Path-Class/README4
-rw-r--r--perl/perl-Path-Class/perl-Path-Class.SlackBuild31
-rw-r--r--perl/perl-Path-Class/perl-Path-Class.info12
3 files changed, 23 insertions, 24 deletions
diff --git a/perl/perl-Path-Class/README b/perl/perl-Path-Class/README
index ab5fd3dbe9..457891d164 100644
--- a/perl/perl-Path-Class/README
+++ b/perl/perl-Path-Class/README
@@ -1,3 +1 @@
-Path::Class is a module for manipulation of file and directory specifications
-(strings describing their locations, like '/home/ken/foo.txt' or
-'C:Windows\Foo.txt' in a cross-platform manner.
+perl-Path-Class (Cross-platform path specification manipulation)
diff --git a/perl/perl-Path-Class/perl-Path-Class.SlackBuild b/perl/perl-Path-Class/perl-Path-Class.SlackBuild
index 1da00f63fa..61ccfebdf8 100644
--- a/perl/perl-Path-Class/perl-Path-Class.SlackBuild
+++ b/perl/perl-Path-Class/perl-Path-Class.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for perl-Path-Class
-# Copyright 2013 Donald Cooley La Porte, IN USA
+# Copyright 2016 Donald Cooley South Haven, Indiana USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=perl-Path-Class
-VERSION=${VERSION:-0.35}
+VERSION=${VERSION:-0.36}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -31,7 +31,7 @@ SRCNAM="$(printf $PRGNAM | cut -d- -f2-)"
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -42,8 +42,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -69,16 +69,17 @@ find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
-o -perm 511 \) -exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-
-perl Makefile.PL \
- PREFIX=/usr \
- INSTALLDIRS=vendor \
- INSTALLVENDORMAN1DIR=/usr/man/man1 \
- INSTALLVENDORMAN3DIR=/usr/man/man3
-make
-make test
-make install DESTDIR=$PKG
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+perl Build.PL \
+./Build --prefix /usr \
+./Build --installdirs vendor
+./Build
+./Build test
+./Build install \
+ --destdir $PKG \
+ --install_path bindoc=/usr/man/man1 \
+ --install_path libdoc=/usr/man/man3
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 3ae848b0d1..20e2688949 100644
--- a/perl/perl-Path-Class/perl-Path-Class.info
+++ b/perl/perl-Path-Class/perl-Path-Class.info
@@ -1,10 +1,10 @@
PRGNAM="perl-Path-Class"
-VERSION="0.35"
-HOMEPAGE="https://metacpan.org/release/Path-Class"
-DOWNLOAD="http://cpan.metacpan.org/authors/id/K/KW/KWILLIAMS/Path-Class-0.35.tar.gz"
-MD5SUM="575b60a5c5e22e259c1df62a59fdfe85"
+VERSION="0.36"
+HOMEPAGE="http://search.cpan.org/dist/Path-Class/"
+DOWNLOAD="http://search.cpan.org/CPAN/authors/id/K/KW/KWILLIAMS/Path-Class-0.36.tar.gz"
+MD5SUM="3e15307faf0702fb916409f594552b94"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES=""
+REQUIRES="perl-Module-Build"
MAINTAINER="Donald Cooley"
-EMAIL="dfc@warpmail.net"
+EMAIL="chytraeu@sdf.org"