blob: c84ed524045f37be341675951c21c8628a6dac56 (
plain) (
tree)
|
|
# Contributor: Síle Ekaterin Liszka <sheila@vulpine.house>
# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
pkgname=perl-pod-parser
_pkgreal=Pod-Parser
_author=MAREKR
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
pkgver=1.65
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="0449ff9fcf8cbb5724d48d27da332a8c281c4412d0aa28464852f1557825070a729df2c620276f141effaeea742a840c8fc391261d8c8165a615cd539bbcce36 Pod-Parser-1.65.tar.gz"
|