From 75893e72a07ce6bcd2fd3927711602482fc91fb1 Mon Sep 17 00:00:00 2001 From: Kiyoshi Aman Date: Sun, 7 Oct 2018 15:50:40 -0500 Subject: system/perl-encode-eucjpascii: pull in for perl-mime-charset --- system/perl-encode-eucjpascii/APKBUILD | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 system/perl-encode-eucjpascii/APKBUILD (limited to 'system/perl-encode-eucjpascii') 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 +# Maintainer: Kiyoshi Aman +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" -- cgit v1.2.3-70-g09d2