summaryrefslogtreecommitdiff
path: root/system/perl-encode-jisx0213/APKBUILD
diff options
context:
space:
mode:
authorA. Wilcox <awilcox@wilcox-tech.com>2018-10-10 02:36:12 +0000
committerA. Wilcox <awilcox@wilcox-tech.com>2018-10-10 02:36:12 +0000
commitcd08a629daf51010fd863fd81add887377cd6b20 (patch)
tree9fbd592a6b1574304c02fd114370486ad6781358 /system/perl-encode-jisx0213/APKBUILD
parent9c5e7666da261ca846e4e0998d4bd9eec890de08 (diff)
parent685d9217bf65d83a5288bbd1660ab49149b6eb88 (diff)
downloadpackages-cd08a629daf51010fd863fd81add887377cd6b20.tar.gz
packages-cd08a629daf51010fd863fd81add887377cd6b20.tar.bz2
packages-cd08a629daf51010fd863fd81add887377cd6b20.tar.xz
packages-cd08a629daf51010fd863fd81add887377cd6b20.zip
Merge branch 'bump.unmaint' into 'master'
Bump unmaintained packages See merge request !83
Diffstat (limited to 'system/perl-encode-jisx0213/APKBUILD')
-rw-r--r--system/perl-encode-jisx0213/APKBUILD32
1 files changed, 32 insertions, 0 deletions
diff --git a/system/perl-encode-jisx0213/APKBUILD b/system/perl-encode-jisx0213/APKBUILD
new file mode 100644
index 000000000..bb7887f4e
--- /dev/null
+++ b/system/perl-encode-jisx0213/APKBUILD
@@ -0,0 +1,32 @@
+# Contributor: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
+# Maintainer: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
+pkgname=perl-encode-jisx0213
+pkgver=0.04
+pkgrel=0
+pkgdesc="Perl support for JIS X 0213 encodings"
+url="https://metacpan.org/pod/Encode::JISX0213"
+arch="all"
+license="Artistic-1.0-Perl AND GPL-2.0+"
+depends="perl perl-encode-iso2022"
+subpackages="$pkgname-doc"
+source="https://cpan.metacpan.org/authors/id/N/NE/NEZUMI/Encode-JISX0213-$pkgver.tar.gz"
+builddir="$srcdir/Encode-JISX0213-$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="79a2d0639c0f9134ab7ff053b62cac950751cacb7ba91b7b6ff5c12787900c0ee7dc4037ff5819d11b1efc0bbb871926763930f6d5d40073c07a671cab44365a Encode-JISX0213-0.04.tar.gz"