summaryrefslogtreecommitdiff
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-06-12 23:51:30 +0000
commitdc9d462a4fc582c08f733426919de3145ea0c268 (patch)
treed3934b6d502bb8d74d135df47c6a66b5ede425e7
parent3175777a8d5dec3e5ef36b4307f6d9c1437f285f (diff)
downloadpackages-dc9d462a4fc582c08f733426919de3145ea0c268.tar.gz
packages-dc9d462a4fc582c08f733426919de3145ea0c268.tar.bz2
packages-dc9d462a4fc582c08f733426919de3145ea0c268.tar.xz
packages-dc9d462a4fc582c08f733426919de3145ea0c268.zip
user/perl-pod-parser: new package.
-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"