testing/perl-proc-guard: use apkbuild-cpan template 4

This commit is contained in:
Celeste 2025-11-18 05:40:18 +00:00
parent 2b1910a4e9
commit 62801d42db

View File

@ -1,12 +1,12 @@
# Automatically generated by apkbuild-cpan, template 3
# Automatically generated by apkbuild-cpan, template 4
# Contributor: Nick Andrew <nick@nick-andrew.net>
# Maintainer: Celeste <cielesti@protonmail.com>
maintainer="Celeste <cielesti@protonmail.com>"
pkgname=perl-proc-guard
#_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
_pkgreal=Proc-Guard
pkgver=0.07
pkgrel=4
#_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
_pkgreal=Proc-Guard
pkgdesc="process runner with RAII pattern"
url="https://metacpan.org/release/Proc-Guard/"
arch="noarch"
@ -20,7 +20,9 @@ builddir="$srcdir/$_pkgreal-$pkgver"
build() {
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
perl Build.PL --installdirs=vendor
perl Build.PL \
--installdirs=vendor \
--create_packlist=0
./Build
}
@ -30,7 +32,6 @@ check() {
package() {
./Build install --destdir="$pkgdir"
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
sha512sums="