# Contributor: Carlo Landmeter # Maintainer: Francesco Colista pkgname=perl-io-gzip pkgver=0.20 pkgrel=3 pkgdesc="Perl extension to provide a PerlIO layer to gzip/gunzip" url="https://metacpan.org/pod/IO::Compress::Gzip" arch="all" license="GPL-1.0-or-later OR Artistic-1.0-Perl" depends="perl" makedepends="perl-dev zlib-dev" subpackages="$pkgname-doc" source="https://cpan.metacpan.org/authors/id/N/NW/NWCLARK/PerlIO-gzip-$pkgver.tar.gz" builddir="$srcdir/PerlIO-gzip-$pkgver" build() { PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor make } check() { make test } package() { make DESTDIR="$pkgdir" install find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete } sha512sums="b24e8fa99cbcbaf07feabfc09cefc55a10c1dce59b495b59343ff5217536f7108c92f462751e70242e6567be32e69a0cc88a2e66325e926174a64042d4b87966 PerlIO-gzip-0.20.tar.gz"