diff options
author | Leo <thinkabit.ukim@gmail.com> | 2019-08-28 03:01:00 -0300 |
---|---|---|
committer | Leonardo Arena <rnalrd@alpinelinux.org> | 2019-08-29 06:23:03 +0000 |
commit | b863787eac1f8acecaa3fb9e599d81eea79d8065 (patch) | |
tree | 7cebc0418557845ecdb5050431979120f200788d /main | |
parent | 1a3664292d8641c136f1b09d244490108ffe7799 (diff) | |
download | aports-b863787eac1f8acecaa3fb9e599d81eea79d8065.tar.bz2 aports-b863787eac1f8acecaa3fb9e599d81eea79d8065.tar.xz |
main/perl-file-next: upgrade to 1.18
Diffstat (limited to 'main')
-rw-r--r-- | main/perl-file-next/APKBUILD | 30 |
1 files changed, 17 insertions, 13 deletions
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 <ncopa@alpinelinux.org> 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" |