summaryrefslogtreecommitdiff
path: root/perl/perl-Test-Requires/perl-Test-Requires.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'perl/perl-Test-Requires/perl-Test-Requires.SlackBuild')
-rw-r--r--perl/perl-Test-Requires/perl-Test-Requires.SlackBuild19
1 files changed, 9 insertions, 10 deletions
diff --git a/perl/perl-Test-Requires/perl-Test-Requires.SlackBuild b/perl/perl-Test-Requires/perl-Test-Requires.SlackBuild
index de61aecc61..622c4e71e8 100644
--- a/perl/perl-Test-Requires/perl-Test-Requires.SlackBuild
+++ b/perl/perl-Test-Requires/perl-Test-Requires.SlackBuild
@@ -26,7 +26,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=perl-Test-Requires
-VERSION=${VERSION:-0.07}
+VERSION=${VERSION:-0.08}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -74,15 +74,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 | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true