testing/perl-syntax-keyword-match: upgrade to 0.14

This commit is contained in:
Celeste 2024-05-01 04:58:11 +00:00
parent ca325b11d7
commit bd0351a62a

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-syntax-keyword-match
pkgver=0.14
pkgrel=0
#_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
_pkgreal=Syntax-Keyword-Match
pkgver=0.13
pkgrel=0
pkgdesc="a C<match/case> syntax for perl"
url="https://metacpan.org/release/Syntax-Keyword-Match/"
arch="all"
@ -19,7 +19,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
}
@ -29,9 +31,8 @@ check() {
package() {
./Build install --destdir="$pkgdir"
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
sha512sums="
472a0b25b8f19a09f0a7d51963bb76382a6273e505b4141148353f0375610e77d2d458fc7cf6e1cb02aa127f252f882559b186bc35b441af5fa1dad7e3aa4e25 Syntax-Keyword-Match-0.13.tar.gz
bdfa94c17893203a9489914602f9e1595aba4ecc18bc5401a21228c2c218a2af3c4141b776d8d45d7f154b6d95a7516fff5c6e3ac91b5576a0cefd3a43ba85d7 Syntax-Keyword-Match-0.14.tar.gz
"