summaryrefslogtreecommitdiff
path: root/user
diff options
context:
space:
mode:
authorZach van Rijn <me@zv.io>2022-02-05 21:29:47 +0000
committerZach van Rijn <me@zv.io>2022-10-21 18:33:57 -0500
commit8b9cc4964d37459570124f2893d35d13130d881b (patch)
tree1951331dd9c60ae8dcdb71ed49017fc4ad40705e /user
parentb6e3541b084d96d6c0fc630aa883974afe30e848 (diff)
downloadpackages-8b9cc4964d37459570124f2893d35d13130d881b.tar.gz
packages-8b9cc4964d37459570124f2893d35d13130d881b.tar.bz2
packages-8b9cc4964d37459570124f2893d35d13130d881b.tar.xz
packages-8b9cc4964d37459570124f2893d35d13130d881b.zip
user/perl-pod-parser: new package.
Diffstat (limited to 'user')
-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"