summaryrefslogtreecommitdiff
path: root/system/perl-pod2-base
diff options
context:
space:
mode:
authorKiyoshi Aman <kiyoshi.aman+apkfission@gmail.com>2018-10-07 16:29:23 -0500
committerKiyoshi Aman <kiyoshi.aman+apkfission@gmail.com>2018-10-07 16:29:23 -0500
commit260ec0f3a23f0b8ded57f939f488a366b86a51dc (patch)
tree57b1227456e8a45179ffd4a314fbc49aeb0d7ccf /system/perl-pod2-base
parent3b18b883b4397e47e8655934c553f65b39d5a93c (diff)
downloadpackages-260ec0f3a23f0b8ded57f939f488a366b86a51dc.tar.gz
packages-260ec0f3a23f0b8ded57f939f488a366b86a51dc.tar.bz2
packages-260ec0f3a23f0b8ded57f939f488a366b86a51dc.tar.xz
packages-260ec0f3a23f0b8ded57f939f488a366b86a51dc.zip
system/perl-pod2-base: pull in for perl-mime-charset
Diffstat (limited to 'system/perl-pod2-base')
-rw-r--r--system/perl-pod2-base/APKBUILD32
1 files changed, 32 insertions, 0 deletions
diff --git a/system/perl-pod2-base/APKBUILD b/system/perl-pod2-base/APKBUILD
new file mode 100644
index 000000000..9d19f9e5c
--- /dev/null
+++ b/system/perl-pod2-base/APKBUILD
@@ -0,0 +1,32 @@
+# Contributor: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
+# Maintainer: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
+pkgname=perl-pod2-base
+pkgver=0.043
+pkgrel=0
+pkgdesc="Base module for POD translations"
+url="https://metacpan.org/pod/distribution/POD2-Base/lib/POD2/Base.pod"
+arch="noarch"
+license="Artistic-1.0-Perl AND GPL-2.0+"
+depends="perl"
+subpackages="$pkgname-doc"
+source="https://cpan.metacpan.org/authors/id/F/FE/FERREIRA/POD2-Base-$pkgver.tar.gz"
+builddir="$srcdir/POD2-Base-$pkgver"
+
+build() {
+ cd "$builddir"
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+ make
+}
+
+check() {
+ cd "$builddir"
+ make test
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+ find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
+}
+
+sha512sums="d535faae9f6722bc8defc016d5b13c8cd251589a28d244feb4394a1ad6235d4e95651e3dc87d13e424e32a54930528c9cf817f65f2eb56ecf53493570450b443 POD2-Base-0.043.tar.gz"