diff options
author | Kiyoshi Aman <kiyoshi.aman+apkfission@gmail.com> | 2018-10-07 16:23:57 -0500 |
---|---|---|
committer | Kiyoshi Aman <kiyoshi.aman+apkfission@gmail.com> | 2018-10-07 16:23:57 -0500 |
commit | 3b18b883b4397e47e8655934c553f65b39d5a93c (patch) | |
tree | b3d32799829a62052ff0aebd5308fd07be587621 /system | |
parent | 5929f172b09e462e697768d1a1957f7725cca33d (diff) | |
download | packages-3b18b883b4397e47e8655934c553f65b39d5a93c.tar.gz packages-3b18b883b4397e47e8655934c553f65b39d5a93c.tar.bz2 packages-3b18b883b4397e47e8655934c553f65b39d5a93c.tar.xz packages-3b18b883b4397e47e8655934c553f65b39d5a93c.zip |
system/perl-encode-hanextra: pull in for perl-mime-charset
Diffstat (limited to 'system')
-rw-r--r-- | system/perl-encode-hanextra/APKBUILD | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/system/perl-encode-hanextra/APKBUILD b/system/perl-encode-hanextra/APKBUILD new file mode 100644 index 000000000..197a05353 --- /dev/null +++ b/system/perl-encode-hanextra/APKBUILD @@ -0,0 +1,33 @@ +# Contributor: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com> +# Maintainer: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com> +pkgname=perl-encode-hanextra +pkgver=0.23 +pkgrel=0 +pkgdesc="Perl support for more Chinese encodings" +url="https://metacpan.org/pod/Encode::HanExtra" +arch="all" +license="Artistic-1.0-Perl AND GPL-2.0+" +depends="perl" +makedepends="perl-module-install" +subpackages="$pkgname-doc" +source="https://cpan.metacpan.org/authors/id/A/AU/AUDREYT/Encode-HanExtra-$pkgver.tar.gz" +builddir="$srcdir/Encode-HanExtra-$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="218083b9b3b4517cfc714169479cba0689a3586d9abb24bcc79d3401d37dd9412cb4e878b6aad06676d5c4f0e03cc69dcaf2e5f48036e2da6f336508c381e462 Encode-HanExtra-0.23.tar.gz" |