summaryrefslogtreecommitdiff
path: root/perl
diff options
context:
space:
mode:
authorAndreas Guldstrand <andreas.guldstrand@gmail.com>2017-01-22 23:19:11 +0000
committerDavid Spencer <idlemoor@slackbuilds.org>2017-01-24 00:21:49 +0000
commit8f4b409531c22afd624a3bc864e4fda7a2da4617 (patch)
tree429d7a640c9070c3a1ffc652cb7af5c86e198b10 /perl
parent0a067e880a9dbfc03efb4fe5c2eac353ea7868e2 (diff)
downloadslackbuilds-8f4b409531c22afd624a3bc864e4fda7a2da4617.tar.gz
perl/perl-File-ShareDir-Install: Updated for version 0.11.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'perl')
-rw-r--r--perl/perl-File-ShareDir-Install/perl-File-ShareDir-Install.SlackBuild18
-rw-r--r--perl/perl-File-ShareDir-Install/perl-File-ShareDir-Install.info8
2 files changed, 13 insertions, 13 deletions
diff --git a/perl/perl-File-ShareDir-Install/perl-File-ShareDir-Install.SlackBuild b/perl/perl-File-ShareDir-Install/perl-File-ShareDir-Install.SlackBuild
index 770051f5c0..51f145459f 100644
--- a/perl/perl-File-ShareDir-Install/perl-File-ShareDir-Install.SlackBuild
+++ b/perl/perl-File-ShareDir-Install/perl-File-ShareDir-Install.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=perl-File-ShareDir-Install
-VERSION=${VERSION:-0.10}
+VERSION=${VERSION:-0.11}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -71,14 +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 Makefile.PL \
- PREFIX=/usr \
- INSTALLDIRS=vendor \
- INSTALLVENDORMAN1DIR=/usr/man/man1 \
- INSTALLVENDORMAN3DIR=/usr/man/man3
-make
-make test
-make install DESTDIR=$PKG
+perl Build.PL \
+ --installdirs vendor \
+ --config installvendorman1dir=/usr/man/man1 \
+ --config installvendorman3dir=/usr/man/man3
+./Build
+./Build test
+./Build install \
+ --destdir $PKG
find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
diff --git a/perl/perl-File-ShareDir-Install/perl-File-ShareDir-Install.info b/perl/perl-File-ShareDir-Install/perl-File-ShareDir-Install.info
index b774d6179b..dc453d6dad 100644
--- a/perl/perl-File-ShareDir-Install/perl-File-ShareDir-Install.info
+++ b/perl/perl-File-ShareDir-Install/perl-File-ShareDir-Install.info
@@ -1,10 +1,10 @@
PRGNAM="perl-File-ShareDir-Install"
-VERSION="0.10"
+VERSION="0.11"
HOMEPAGE="https://metacpan.org/pod/File::ShareDir::Install"
-DOWNLOAD="https://cpan.metacpan.org/authors/id/G/GW/GWYN/File-ShareDir-Install-0.10.tar.gz"
-MD5SUM="37fb7fa72ce7184516dd022aba62f524"
+DOWNLOAD="https://cpan.metacpan.org/authors/id/E/ET/ETHER/File-ShareDir-Install-0.11.tar.gz"
+MD5SUM="61107e6ce6eee42bf29525b1a4d029e0"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES=""
+REQUIRES="perl-Module-Build-Tiny"
MAINTAINER="Andreas Guldstrand"
EMAIL="andreas.guldstrand@gmail.com"