diff options
author | Sheila Aman <sheila@vulpine.house> | 2021-05-08 22:24:24 +0000 |
---|---|---|
committer | Zach van Rijn <me@zv.io> | 2022-10-21 18:33:58 -0500 |
commit | 90bd82345c73d704d42ba4f71b74b294e6276abe (patch) | |
tree | 12c2254652da338244f72a8a91754b651acfbf43 | |
parent | ad0956812429d1752e492201ff1197acf757b9cb (diff) | |
download | packages-90bd82345c73d704d42ba4f71b74b294e6276abe.tar.gz packages-90bd82345c73d704d42ba4f71b74b294e6276abe.tar.bz2 packages-90bd82345c73d704d42ba4f71b74b294e6276abe.tar.xz packages-90bd82345c73d704d42ba4f71b74b294e6276abe.zip |
user/perl-pod-parser: new package
-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" |