community/perl-file-copy-recursive-reduced: upgrade to 0.008

also, upgrade to apkbuild-cpan template 4
This commit is contained in:
Celeste 2024-03-26 08:23:57 +00:00 committed by omni
parent dfd8734c88
commit cc442f8f1b

View File

@ -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-file-copy-recursive-reduced
pkgver=0.008
pkgrel=0
#_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
_pkgreal=File-Copy-Recursive-Reduced
pkgver=0.007
pkgrel=0
pkgdesc="Recursive copying of files and directories within Perl 5 toolchain"
url="https://metacpan.org/release/File-Copy-Recursive-Reduced/"
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,8 @@ check() {
package() {
make DESTDIR="$pkgdir" install
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
sha512sums="
7b2029acc3cd4cf5775df60b0d716da3868283bbce4bf4717dcd95fad112973ccd4df25ab88312d5a2a4f332399312d412bb2fd81245f843a619eae0ee5be085 File-Copy-Recursive-Reduced-0.007.tar.gz
ea426a7c87909fd819972e8abdc37d2fb506f0c6b9acf6fb313d24a5794685cafefa9bbe42a04a2d429a8c64a9eb3ee8c62216987a44d30c342ce16f6af36be9 File-Copy-Recursive-Reduced-0.008.tar.gz
"