diff options
author | Sheila Aman <sheila@vulpine.house> | 2021-05-08 22:24:24 +0000 |
---|---|---|
committer | Zach van Rijn <me@zv.io> | 2022-06-12 23:51:38 +0000 |
commit | 79a6f24c99bf4c6b2a045482335f9fdf35075ff7 (patch) | |
tree | eb3f272e7f13f117130ee603631e5e2d2a64366d /user | |
parent | f800eae21da3edf0d805e4c70a783b58618e7801 (diff) | |
download | packages-79a6f24c99bf4c6b2a045482335f9fdf35075ff7.tar.gz packages-79a6f24c99bf4c6b2a045482335f9fdf35075ff7.tar.bz2 packages-79a6f24c99bf4c6b2a045482335f9fdf35075ff7.tar.xz packages-79a6f24c99bf4c6b2a045482335f9fdf35075ff7.zip |
user/perl-pod-parser: new package
Diffstat (limited to 'user')
-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" |