# Contributor: Síle Ekaterin Liszka # Maintainer: Síle Ekaterin Liszka pkgname=perl-pod-parser _pkgreal=Pod-Parser _author=MAREKR _au=${_author%%"${_author#??}"} _a=${_author%%"${_author#?}"} pkgver=1.66 pkgrel=0 pkgdesc="Perl package for finding and handling POD documents" url="https://metacpan.org/release/Pod-Parser" arch="noarch" license="Artistic-1.0-Perl" depends="perl" makedepends="perl-dev" subpackages="$pkgname-doc" source="https://cpan.metacpan.org/authors/id/$_a/$_au/$_author/$_pkgreal-$pkgver.tar.gz" builddir="$srcdir"/$_pkgreal-$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="7e9db0166ad74e45a61542a12e901443ae82e5ba06d8c0704f9a617fc792b41b5520b9c071f9ec93bddffaae9a3e2232a777e45d1f64f8e418dd788dd49c189f Pod-Parser-1.66.tar.gz"