diff options
author | Kiyoshi Aman <kiyoshi.aman+apkfission@gmail.com> | 2018-10-07 16:00:15 -0500 |
---|---|---|
committer | Kiyoshi Aman <kiyoshi.aman+apkfission@gmail.com> | 2018-10-07 16:00:15 -0500 |
commit | c6f41c5ffbc9313a3c80cc59164596ceca38ca0f (patch) | |
tree | e16e4e1bc21d360460ae49cfce4a6eddc664ba20 /system/perl-encode-iso2022 | |
parent | 75893e72a07ce6bcd2fd3927711602482fc91fb1 (diff) | |
download | packages-c6f41c5ffbc9313a3c80cc59164596ceca38ca0f.tar.gz packages-c6f41c5ffbc9313a3c80cc59164596ceca38ca0f.tar.bz2 packages-c6f41c5ffbc9313a3c80cc59164596ceca38ca0f.tar.xz packages-c6f41c5ffbc9313a3c80cc59164596ceca38ca0f.zip |
system/perl-encode-iso2022: pull in for perl-mime-charset
Diffstat (limited to 'system/perl-encode-iso2022')
-rw-r--r-- | system/perl-encode-iso2022/APKBUILD | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/system/perl-encode-iso2022/APKBUILD b/system/perl-encode-iso2022/APKBUILD new file mode 100644 index 000000000..ff4b70628 --- /dev/null +++ b/system/perl-encode-iso2022/APKBUILD @@ -0,0 +1,32 @@ +# Contributor: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com> +# Maintainer: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com> +pkgname=perl-encode-iso2022 +pkgver=0.04 +pkgrel=0 +pkgdesc="Perl support for ISO-2022 encodings" +url="https://metacpan.org/pod/Encode::ISO2022" +arch="all" +license="Artistic-1.0-Perl AND GPL-2.0+" +depends="perl" +subpackages="$pkgname-doc" +source="https://cpan.metacpan.org/authors/id/N/NE/NEZUMI/Encode-ISO2022-$pkgver.tar.gz" +builddir="$srcdir/Encode-ISO2022-$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="d63de568cf81b74c618ee6e5299ec012fc1937ffdcaec31a3684609fefb2797286322037fdb6358d50afbf860b868c0e04542179a670800f3f591d0b48a497f1 Encode-ISO2022-0.04.tar.gz" |