# Automatically generated by apkbuild-cpan, template 2 # Contributor: Timothy Legge # Maintainer: Timothy Legge pkgname=perl-locale-codes _pkgreal=Locale-Codes pkgver=3.61 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" makedepends="perl-dev" checkdepends="perl-file-find-rule perl-test-inter perl-test-pod perl-test-pod-coverage" 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="eee3816288d8fab2e48b0a5b76470f75aeaf74d5cffada56278a7e00226e79f7aadb3ed9a7f43bfe65400d500fa20a2442d4ecfb1653c6890cc1072c40656092 Locale-Codes-3.61.tar.gz"