# Automatically generated by apkbuild-cpan, template 1 # Contributor: Francesco Colista # Maintainer: Francesco Colista pkgname=perl-perlio-locale _pkgreal=PerlIO-locale pkgver=0.10 pkgrel=11 pkgdesc="PerlIO layer to use the encoding of the current locale" url="https://metacpan.org/release/PerlIO-locale/" arch="all" license="GPL PerlArtistic" makedepends="perl-dev" subpackages="$pkgname-doc" source="https://cpan.metacpan.org/authors/id/R/RG/RGARCIA/$_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=" d61a9cdf60c89cda9f39335a54878df87a112f5e4caf8d697a5173797726242ecc602a8670d2b058ad5677cc5db3100afc9742bee1498ef922e02362e5281f5c PerlIO-locale-0.10.tar.gz "