diff options
author | Zach van Rijn <me@zv.io> | 2022-01-08 14:46:49 +0000 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2022-04-24 20:51:25 -0500 |
commit | d8b74d24ce729bcd1c0e196b23322dbad3a19d77 (patch) | |
tree | e0fabef32345922e35635b68f8672650583e31f0 /system | |
parent | 7ec7b158d6f780ef7459cbee2756fae877852bff (diff) | |
download | packages-d8b74d24ce729bcd1c0e196b23322dbad3a19d77.tar.gz packages-d8b74d24ce729bcd1c0e196b23322dbad3a19d77.tar.bz2 packages-d8b74d24ce729bcd1c0e196b23322dbad3a19d77.tar.xz packages-d8b74d24ce729bcd1c0e196b23322dbad3a19d77.zip |
system/perl-pod-parser: new package (not provided after perl 5.32.0). fixes #437.
Diffstat (limited to 'system')
-rw-r--r-- | system/perl-pod-parser/APKBUILD | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/system/perl-pod-parser/APKBUILD b/system/perl-pod-parser/APKBUILD new file mode 100644 index 000000000..843d5f5ac --- /dev/null +++ b/system/perl-pod-parser/APKBUILD @@ -0,0 +1,32 @@ +# Contributor: Leo <thinkabit.ukim@gmail.com> +# Maintainer: Zach van Rijn <me@zv.io> +pkgname=perl-pod-parser +_pkgreal=Pod-Parser +pkgver=1.63 +pkgrel=0 +pkgdesc="Modules for parsing/translating POD format documents" +url="https://metacpan.org/release/Pod-Parser/" +arch="noarch" +license="GPL-1.0-or-later OR Artistic-1.0-Perl" +depends="perl" +subpackages="$pkgname-doc" +source="https://cpan.metacpan.org/authors/id/M/MA/MAREKR/Pod-Parser-$pkgver.tar.gz" +builddir="$srcdir/$_pkgreal-$pkgver" + +build() { + export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}') + PERL_MM_USE_DEFAULT=1 perl -I. Makefile.PL INSTALLDIRS=vendor + make +} + +check() { + export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}') + make test +} + +package() { + make DESTDIR="$pkgdir" install + find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete +} + +sha512sums="55f5741bb906701705f489b2314d3f11cd6d63ca5b64a60fdbda7eed0388945f2e68262735c7cc33b7089794630393049e619f9900e85c71bf9223243bc0984a Pod-Parser-1.63.tar.gz" |