summaryrefslogblamecommitdiff
path: root/system/perl-encode-iso2022/APKBUILD
blob: 9e41c6a161365487ad8cd1787d601c2f31b1d223 (plain) (tree)
1
2
3
4
5
6
7
                                                 
                                                                   
                           



                               






                                              
                      
                          

                                                                                        

         




                                                                 



                 




                                                                                                                                                                         
# Contributor: Sheila Aman <sheila@vulpine.house>
# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
pkgname=perl-encode-iso2022
_pkgreal=Encode-ISO2022
_author=NEZUMI
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
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"
makedepends="perl-dev"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/$_a/$_au/$_author/$_pkgreal-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver"

build() {
	PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
	make
}

check() {
	make test
}

package() {
	make DESTDIR="$pkgdir" install
	find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}

sha512sums="d63de568cf81b74c618ee6e5299ec012fc1937ffdcaec31a3684609fefb2797286322037fdb6358d50afbf860b868c0e04542179a670800f3f591d0b48a497f1  Encode-ISO2022-0.04.tar.gz"