summaryrefslogtreecommitdiff
path: root/system/perl-encode-eucjpascii/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-eucjpascii/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-eucjpascii/APKBUILD')
-rw-r--r--system/perl-encode-eucjpascii/APKBUILD31
1 files changed, 31 insertions, 0 deletions
diff --git a/system/perl-encode-eucjpascii/APKBUILD b/system/perl-encode-eucjpascii/APKBUILD
new file mode 100644
index 000000000..d4623a130
--- /dev/null
+++ b/system/perl-encode-eucjpascii/APKBUILD
@@ -0,0 +1,31 @@
+# Contributor: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
+# Maintainer: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
+pkgname=perl-encode-eucjpascii
+pkgver=0.03
+pkgrel=0
+pkgdesc="Perl mapping of EUC-JP to ASCII"
+url="https://metacpan.org/pod/Encode::EUCJPASCII"
+arch="all"
+license="Artistic-1.0-Perl AND GPL-2.0+"
+depends="perl"
+source="https://cpan.metacpan.org/authors/id/N/NE/NEZUMI/Encode-EUCJPASCII-0.03.tar.gz"
+builddir="$srcdir/Encode-EUCJPASCII-$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="0d7a06e1f5eaa20451ef360ef78372cb0ecf0c9a525efed5db0b55b0fc98b47c87eff4f9be069bdd7be50156f8edfc0cb9a257e9efd5a33130cc745dca12b7d8 Encode-EUCJPASCII-0.03.tar.gz"