diff options
Diffstat (limited to 'user/perl-pod-parser')
-rw-r--r-- | user/perl-pod-parser/APKBUILD | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/user/perl-pod-parser/APKBUILD b/user/perl-pod-parser/APKBUILD new file mode 100644 index 000000000..145ad33eb --- /dev/null +++ b/user/perl-pod-parser/APKBUILD @@ -0,0 +1,34 @@ +# Contributor: Sheila Aman <sheila@vulpine.house> +# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org> +pkgname=perl-pod-parser +_pkgreal=Pod-Parser +_author=MAREKR +_au=${_author%%"${_author#??}"} +_a=${_author%%"${_author#?}"} +pkgver=1.63 +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="55f5741bb906701705f489b2314d3f11cd6d63ca5b64a60fdbda7eed0388945f2e68262735c7cc33b7089794630393049e619f9900e85c71bf9223243bc0984a Pod-Parser-1.63.tar.gz" |