summaryrefslogtreecommitdiff
path: root/system/perl-mime-charset/APKBUILD
diff options
context:
space:
mode:
authorKiyoshi Aman <kiyoshi.aman+apkfission@gmail.com>2018-10-07 16:30:59 -0500
committerKiyoshi Aman <kiyoshi.aman+apkfission@gmail.com>2018-10-07 16:30:59 -0500
commit3640bb8d0c71d478fa56172353987262c381729c (patch)
treec291b1506fb92b9c4d40cf97aaa490a5f3d69e0f /system/perl-mime-charset/APKBUILD
parent260ec0f3a23f0b8ded57f939f488a366b86a51dc (diff)
downloadpackages-3640bb8d0c71d478fa56172353987262c381729c.tar.gz
packages-3640bb8d0c71d478fa56172353987262c381729c.tar.bz2
packages-3640bb8d0c71d478fa56172353987262c381729c.tar.xz
packages-3640bb8d0c71d478fa56172353987262c381729c.zip
system/perl-mime-charset: new package
Diffstat (limited to 'system/perl-mime-charset/APKBUILD')
-rw-r--r--system/perl-mime-charset/APKBUILD33
1 files changed, 33 insertions, 0 deletions
diff --git a/system/perl-mime-charset/APKBUILD b/system/perl-mime-charset/APKBUILD
new file mode 100644
index 000000000..7adb38810
--- /dev/null
+++ b/system/perl-mime-charset/APKBUILD
@@ -0,0 +1,33 @@
+# Contributor: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
+# Maintainer: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
+pkgname=perl-mime-charset
+pkgver=1.012.2
+pkgrel=0
+pkgdesc="Perl database for MIME character sets"
+url="https://metacpan.org/pod/MIME::Charset"
+arch="noarch"
+license="Artistic-1.0-Perl AND GPL-2.0+"
+depends="perl perl-encode-eucjpascii perl-encode-jisx0213 perl-encode-hanextra
+ perl-pod2-base"
+subpackages="$pkgname-doc"
+source="https://cpan.metacpan.org/authors/id/N/NE/NEZUMI/MIME-Charset-$pkgver.tar.gz"
+builddir="$srcdir/MIME-Charset-$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="2273bf0b86eb042e5aa8bcf958eefefde7dce6701eea5ae8c0fe9997e7d3e90d837a7791ade30f84536a15116175c796daee60da6625f409d214844dfedfde4d MIME-Charset-1.012.2.tar.gz"