summaryrefslogtreecommitdiff
path: root/user/perl-pod-parser
diff options
context:
space:
mode:
Diffstat (limited to 'user/perl-pod-parser')
-rw-r--r--user/perl-pod-parser/APKBUILD34
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..233ce23f3
--- /dev/null
+++ b/user/perl-pod-parser/APKBUILD
@@ -0,0 +1,34 @@
+# Automatically generated by apkbuild-cpan, template 3
+# Contributor: Leo <thinkabit.ukim@gmail.com>
+# Maintainer: Zach van Rijn <me@zv.io>
+pkgname=perl-pod-parser
+#_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
+_pkgreal=Pod-Parser
+pkgver=1.60
+pkgrel=1
+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="afb5a7411cb2a67e5a1013b37d41ca274635745834525c19919264daa7509b47263d0544807ad166bd8fec6f2e00848b31565a9e09b0d6bdfbaf73b4051ccab1 Pod-Parser-1.60.tar.gz"