diff options
Diffstat (limited to 'community/perl-io-gzip/APKBUILD')
-rw-r--r-- | community/perl-io-gzip/APKBUILD | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/community/perl-io-gzip/APKBUILD b/community/perl-io-gzip/APKBUILD index 23253fd657..a3e2e1766c 100644 --- a/community/perl-io-gzip/APKBUILD +++ b/community/perl-io-gzip/APKBUILD @@ -2,31 +2,28 @@ # Maintainer: Francesco Colista <fcolista@alpinelinux.org> pkgname=perl-io-gzip pkgver=0.20 -pkgrel=2 +pkgrel=3 pkgdesc="Perl extension to provide a PerlIO layer to gzip/gunzip" -url="http://search.cpan.org/dist/PerlIO-gzip/" +url="https://metacpan.org/pod/IO::Compress::Gzip" arch="all" -license="GPL" -depends_dev="perl-dev zlib-dev" -makedepends="$depends_dev" +license="GPL-1.0-or-later OR Artistic-1.0-Perl" +depends="perl" +makedepends="perl-dev zlib-dev" subpackages="$pkgname-doc" -source="http://search.cpan.org/CPAN/authors/id/N/NW/NWCLARK/PerlIO-gzip-$pkgver.tar.gz" +source="https://cpan.metacpan.org/authors/id/N/NW/NWCLARK/PerlIO-gzip-$pkgver.tar.gz" builddir="$srcdir/PerlIO-gzip-$pkgver" build() { - cd "$builddir" PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor make } check() { - cd "$builddir" - make test + make test } package() { - cd "$builddir" make DESTDIR="$pkgdir" install find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete } |