summaryrefslogtreecommitdiff
path: root/perl/perl-File-ShareDir-Install/perl-File-ShareDir-Install.SlackBuild
diff options
context:
space:
mode:
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