summaryrefslogtreecommitdiff
path: root/system
diff options
context:
space:
mode:
authorZach van Rijn <me@zv.io>2022-01-08 14:46:49 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2022-05-01 17:05:41 -0500
commit725197a5678cbd13d39f98aca1a5aee257068498 (patch)
tree4fdcd0b71c915488ba2ace29742967c599f7e2e8 /system
parentcd541fffcb40c907725e0768045e9b827b473ceb (diff)
downloadpackages-725197a5678cbd13d39f98aca1a5aee257068498.tar.gz
packages-725197a5678cbd13d39f98aca1a5aee257068498.tar.bz2
packages-725197a5678cbd13d39f98aca1a5aee257068498.tar.xz
packages-725197a5678cbd13d39f98aca1a5aee257068498.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/APKBUILD32
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"