diff options
Diffstat (limited to 'perl/perl-Test-Number-Delta/perl-Test-Number-Delta.SlackBuild')
-rw-r--r-- | perl/perl-Test-Number-Delta/perl-Test-Number-Delta.SlackBuild | 21 |
1 files changed, 10 insertions, 11 deletions
diff --git a/perl/perl-Test-Number-Delta/perl-Test-Number-Delta.SlackBuild b/perl/perl-Test-Number-Delta/perl-Test-Number-Delta.SlackBuild index a541af816d..dc9277d953 100644 --- a/perl/perl-Test-Number-Delta/perl-Test-Number-Delta.SlackBuild +++ b/perl/perl-Test-Number-Delta/perl-Test-Number-Delta.SlackBuild @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=perl-Test-Number-Delta -VERSION=${VERSION:-1.03} +VERSION=${VERSION:-1.06} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -71,15 +71,14 @@ find -L . \ \( -perm 666 -o -perm 664 -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 @@ -93,7 +92,7 @@ find $PKG -depth -type d -empty -delete || true mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a \ - Changes LICENSE README Todo \ + CONTRIBUTING.mkdn Changes LICENSE README \ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild |