diff options
Diffstat (limited to 'community/perl-locale-codes/APKBUILD')
-rw-r--r-- | community/perl-locale-codes/APKBUILD | 21 |
1 files changed, 15 insertions, 6 deletions
diff --git a/community/perl-locale-codes/APKBUILD b/community/perl-locale-codes/APKBUILD index a3cd537f182..f15ee88194b 100644 --- a/community/perl-locale-codes/APKBUILD +++ b/community/perl-locale-codes/APKBUILD @@ -1,11 +1,11 @@ -# Automatically generated by apkbuild-cpan, template 3 +# Automatically generated by apkbuild-cpan, template 4 # Contributor: Timothy Legge <timlegge@gmail.com> # Maintainer: Timothy Legge <timlegge@gmail.com> pkgname=perl-locale-codes +pkgver=3.78 +pkgrel=0 #_pkgreal is used by apkbuild-cpan to find modules at MetaCpan _pkgreal=Locale-Codes -pkgver=3.70 -pkgrel=0 pkgdesc="a distribution of modules to handle locale codes" url="https://metacpan.org/release/Locale-Codes/" arch="noarch" @@ -18,7 +18,10 @@ builddir="$srcdir/$_pkgreal-$pkgver" build() { export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}') - PERL_MM_USE_DEFAULT=1 perl -I. Makefile.PL INSTALLDIRS=vendor + PERL_MM_USE_DEFAULT=1 perl -I. Makefile.PL \ + INSTALLDIRS=vendor \ + NO_PACKLIST=1 \ + NO_PERLLOCAL=1 make } @@ -29,9 +32,15 @@ check() { package() { make DESTDIR="$pkgdir" install - find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete +} + +doc() { + local file; find "$pkgdir" -name "*.pod" | while read -r file; do + amove "${file#"$pkgdir"}" + done + default_doc } sha512sums=" -9ea9d91ee2af861033f7abfbbfa97fc9bf0aab6de851286bbb12c2a8ee3af846ae1f5b4b128a23efcebe06fe87524ab72c8cc07afface401687bdc07646c9c4c Locale-Codes-3.70.tar.gz +640241a896ab20747360766cc98f69f953559d225113135ae2131656381526e8639c3ac6a03c4f41d373b8a330a26e0c3ded7ba65b163d4eefc1c2119180a22c Locale-Codes-3.78.tar.gz " |