summaryrefslogtreecommitdiff
path: root/perl/perl-File-ShareDir-Install/perl-File-ShareDir-Install.SlackBuild
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/perl-File-ShareDir-Install/perl-File-ShareDir-Install.SlackBuild
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/perl-File-ShareDir-Install/perl-File-ShareDir-Install.SlackBuild')
-rw-r--r--perl/perl-File-ShareDir-Install/perl-File-ShareDir-Install.SlackBuild18
1 files changed, 9 insertions, 9 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