aboutsummaryrefslogtreecommitdiff
path: root/perl/perl-Test-Trap/perl-Test-Trap.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'perl/perl-Test-Trap/perl-Test-Trap.SlackBuild')
-rw-r--r--perl/perl-Test-Trap/perl-Test-Trap.SlackBuild17
1 files changed, 8 insertions, 9 deletions
diff --git a/perl/perl-Test-Trap/perl-Test-Trap.SlackBuild b/perl/perl-Test-Trap/perl-Test-Trap.SlackBuild
index 839fc005db6c..81f03c4eacc0 100644
--- a/perl/perl-Test-Trap/perl-Test-Trap.SlackBuild
+++ b/perl/perl-Test-Trap/perl-Test-Trap.SlackBuild
@@ -53,15 +53,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 Build.PL \
- prefix=/usr \
- installdirs=vendor \
- destdir=$PKG
-./Build
-./Build test
-./Build install \
- --install_path bindoc=/usr/man/man1 \
- --install_path libdoc=/usr/man/man3
+perl Makefile.PL \
+ PREFIX=/usr \
+ INSTALLDIRS=vendor \
+ INSTALLVENDORMAN1DIR=/usr/man/man1 \
+ INSTALLVENDORMAN3DIR=/usr/man/man3
+make
+make test
+make install DESTDIR=$PKG
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true