summaryrefslogtreecommitdiffstats
path: root/perl/perl-data-messagepack/perl-data-messagepack.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'perl/perl-data-messagepack/perl-data-messagepack.SlackBuild')
-rw-r--r--perl/perl-data-messagepack/perl-data-messagepack.SlackBuild15
1 files changed, 6 insertions, 9 deletions
diff --git a/perl/perl-data-messagepack/perl-data-messagepack.SlackBuild b/perl/perl-data-messagepack/perl-data-messagepack.SlackBuild
index a8b069c6ef..e008d32ad2 100644
--- a/perl/perl-data-messagepack/perl-data-messagepack.SlackBuild
+++ b/perl/perl-data-messagepack/perl-data-messagepack.SlackBuild
@@ -25,13 +25,13 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=perl-data-messagepack
-VERSION=${VERSION:-1.00}
+VERSION=${VERSION:-1.02}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
SRCNAM=Data-MessagePack
-DOCFILES="Changes README"
+DOCFILES="Changes README.md"
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -68,13 +68,10 @@ 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 {} \;
-echo "y" | perl Makefile.PL \
- PREFIX=/usr \
- INSTALLDIRS=vendor \
- 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 -name perllocal.pod -o -name ".packlist" -o -name "*.bs" | xargs rm -f || true
find $PKG -depth -type d -empty -delete