# Automatically generated by apkbuild-cpan, template 3 # Contributor: Timothy Legge # Maintainer: Timothy Legge pkgname=perl-locale-codes #_pkgreal is used by apkbuild-cpan to find modules at MetaCpan _pkgreal=Locale-Codes pkgver=3.74 pkgrel=0 pkgdesc="a distribution of modules to handle locale codes" url="https://metacpan.org/release/Locale-Codes/" arch="noarch" license="GPL-1.0-or-later OR Artistic-1.0-Perl" depends="perl" checkdepends="perl-test-inter" subpackages="$pkgname-doc" source="https://cpan.metacpan.org/authors/id/S/SB/SBECK/Locale-Codes-$pkgver.tar.gz" builddir="$srcdir/$_pkgreal-$pkgver" build() { export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}') PERL_MM_USE_DEFAULT=1 perl -I. Makefile.PL INSTALLDIRS=vendor make } check() { export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}') make test } package() { make DESTDIR="$pkgdir" install find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete } sha512sums=" ed48110833adac836a7b9bce1a9cd2eb83eff2085cffaa1e418d0e38689672663ca55ad92ac511331080c4c23cae82f9e5f80191f696ef7e296f0cad1bea509a Locale-Codes-3.74.tar.gz "