main/perl-regexp-common: upgrade to 2024080801

https://metacpan.org/release/ABIGAIL/Regexp-Common-2024080801/diff/ABIGAIL/Regexp-Common-2017060201
This commit is contained in:
Celeste 2024-08-09 00:40:48 +00:00
parent 61496b5f31
commit 91efce0a6c

View File

@ -1,17 +1,16 @@
# Automatically generated by apkbuild-cpan, template 3 # Automatically generated by apkbuild-cpan, template 4
# Contributor: Natanael Copa <ncopa@alpinelinux.org> # Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org> # Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=perl-regexp-common pkgname=perl-regexp-common
pkgver=2024080801
pkgrel=0
#_pkgreal is used by apkbuild-cpan to find modules at MetaCpan #_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
_pkgreal=Regexp-Common _pkgreal=Regexp-Common
pkgver=2017060201
pkgrel=4
pkgdesc="Provide commonly requested regular expressions" pkgdesc="Provide commonly requested regular expressions"
url="https://metacpan.org/release/Regexp-Common/" url="https://metacpan.org/release/Regexp-Common/"
arch="noarch" arch="noarch"
license="MIT OR Artistic-2.0" license="MIT OR Artistic-2.0"
depends="perl" depends="perl"
makedepends="perl-dev"
checkdepends="perl-test-regexp" checkdepends="perl-test-regexp"
subpackages="$pkgname-doc" subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/A/AB/ABIGAIL/Regexp-Common-$pkgver.tar.gz" source="https://cpan.metacpan.org/authors/id/A/AB/ABIGAIL/Regexp-Common-$pkgver.tar.gz"
@ -20,7 +19,10 @@ options="!check" # take forever
build() { build() {
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}') 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 make
} }
@ -31,9 +33,8 @@ check() {
package() { package() {
make DESTDIR="$pkgdir" install make DESTDIR="$pkgdir" install
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
} }
sha512sums=" sha512sums="
fd046d775214bdca42f868557559595360b069121a75fc119f45e064091000968d9d84154f8a0f06072ecff169dccecf68be58f99a7196932fcb4ffcbd678608 Regexp-Common-2017060201.tar.gz dc1b9cc23e5e1ea8fc26e892098a3fe8fe9d25736cce5728364192eb26c8aba2a445c563037e037315d638b48e272e909654b9e27196a0d880e4ce6573937a56 Regexp-Common-2024080801.tar.gz
" "