summaryrefslogtreecommitdiff
path: root/system/perl-pod-parser
diff options
context:
space:
mode:
Diffstat (limited to 'system/perl-pod-parser')
-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"