aboutsummaryrefslogtreecommitdiff
path: root/perl/perlbrew/perlbrew.SlackBuild
diff options
context:
space:
mode:
authorAndreas Guldstrand <andreas.guldstrand@gmail.com>2018-09-14 18:05:05 +0200
committerDavid Spencer <idlemoor@slackbuilds.org>2018-09-15 19:20:40 +0100
commitf5bc4cf84363e88b861a4245251444f2bce2eac5 (patch)
tree14366e96fe40676822191f674c001d1c9b7497dd /perl/perlbrew/perlbrew.SlackBuild
parent9ece6aecf089cb69bbf0e55c54088f0aa73bf29e (diff)
perl/perlbrew: Updated for version 0.84.
Signed-off-by: Andreas Guldstrand <andreas.guldstrand@gmail.com>
Diffstat (limited to 'perl/perlbrew/perlbrew.SlackBuild')
-rw-r--r--perl/perlbrew/perlbrew.SlackBuild18
1 files changed, 9 insertions, 9 deletions
diff --git a/perl/perlbrew/perlbrew.SlackBuild b/perl/perlbrew/perlbrew.SlackBuild
index 7e668dbe41684..d09aad68ff463 100644
--- a/perl/perlbrew/perlbrew.SlackBuild
+++ b/perl/perlbrew/perlbrew.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=perlbrew
-VERSION=${VERSION:-0.82}
+VERSION=${VERSION:-0.84}
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