From b863787eac1f8acecaa3fb9e599d81eea79d8065 Mon Sep 17 00:00:00 2001 From: Leo Date: Wed, 28 Aug 2019 03:01:00 -0300 Subject: main/perl-file-next: upgrade to 1.18 --- main/perl-file-next/APKBUILD | 30 +++++++++++++++++------------- 1 file changed, 17 insertions(+), 13 deletions(-) (limited to 'main') diff --git a/main/perl-file-next/APKBUILD b/main/perl-file-next/APKBUILD index 024aee8d38..587227c2e4 100644 --- a/main/perl-file-next/APKBUILD +++ b/main/perl-file-next/APKBUILD @@ -2,30 +2,34 @@ # Maintainer: Natanael Copa pkgname=perl-file-next _pkgreal=File-Next -pkgver=1.16 +pkgver=1.18 pkgrel=0 pkgdesc="Perl module for taint-safe file-finding" -url="http://search.cpan.org/dist/File-Next/" +url="https://metacpan.org/release/File-Next" arch="noarch" -license="GPL PerlArtistic" -depends= -depends_dev= +license="GPL-1.0-or-later OR Artistic-1.0-Perl" +depends="perl" makedepends="perl-dev" subpackages="$pkgname-doc" -source="http://search.cpan.org/CPAN/authors/id/P/PE/PETDANCE/$_pkgreal-$pkgver.tar.gz" +source="https://cpan.metacpan.org/authors/id/P/PE/PETDANCE/File-Next-$pkgver.tar.gz" -_builddir="$srcdir/$_pkgreal-$pkgver" +builddir="$srcdir/$_pkgreal-$pkgver" build() { - cd "$_builddir" - PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1 - make || return 1 + cd "$builddir" + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + make +} + +check() { + cd "$builddir" + make test } package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 + cd "$builddir" + make DESTDIR="$pkgdir" install find "$pkgdir" -name perllocal.pod -delete } -sha512sums="42c812b8927a18e1f01758a2218f37f2079083117763b41adcee1eb4947b36b1379405707304b948fddd4640e2c34070f4dcd0f217fb60b7ba765efe98be8ad3 File-Next-1.16.tar.gz" +sha512sums="951ad995b40ddda359a10ba2d7e19622059da03e7aaa3411e2e887633fbf7720554dc3f98ad581b245b2ffb51ea79f7c5eedecf6e943359eb407df0f9014e627 File-Next-1.18.tar.gz" -- cgit v1.2.3