mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-06 22:07:19 +02:00
testing/perl-regexp-grammars: new aport
https://metacpan.org/release/Regexp-Grammars/ Add grammatical parsing features to Perl 5.10 regexes Needed as makedepends for testing/strfry
This commit is contained in:
parent
89dffa7962
commit
b6e7481cd8
38
testing/perl-regexp-grammars/APKBUILD
Normal file
38
testing/perl-regexp-grammars/APKBUILD
Normal file
@ -0,0 +1,38 @@
|
|||||||
|
# Automatically generated by apkbuild-cpan, template 4
|
||||||
|
# Contributor: Celeste <cielesti@protonmail.com>
|
||||||
|
# Maintainer: Celeste <cielesti@protonmail.com>
|
||||||
|
pkgname=perl-regexp-grammars
|
||||||
|
#_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
|
||||||
|
_pkgreal=Regexp-Grammars
|
||||||
|
pkgver=1.058
|
||||||
|
pkgrel=0
|
||||||
|
pkgdesc="Add grammatical parsing features to Perl 5.10 regexes"
|
||||||
|
url="https://metacpan.org/release/Regexp-Grammars/"
|
||||||
|
arch="noarch"
|
||||||
|
license="GPL-1.0-or-later OR Artistic-1.0-Perl"
|
||||||
|
depends="perl"
|
||||||
|
makedepends="perl-module-build"
|
||||||
|
checkdepends="perl-moose"
|
||||||
|
subpackages="$pkgname-doc"
|
||||||
|
source="https://cpan.metacpan.org/authors/id/D/DC/DCONWAY/Regexp-Grammars-$pkgver.tar.gz"
|
||||||
|
builddir="$srcdir/$_pkgreal-$pkgver"
|
||||||
|
|
||||||
|
build() {
|
||||||
|
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
|
||||||
|
perl Build.PL \
|
||||||
|
--installdirs=vendor \
|
||||||
|
--create_packlist=0
|
||||||
|
./Build
|
||||||
|
}
|
||||||
|
|
||||||
|
check() {
|
||||||
|
./Build test
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
./Build install --destdir="$pkgdir"
|
||||||
|
}
|
||||||
|
|
||||||
|
sha512sums="
|
||||||
|
4a5b69ca1f4ba23720a4aba0cbf69d4be87cdaacfd3cebb23a160a2649083a430d98a32f98e3c35fa0db6d15aeaa8c28c2ee9969e26999125d2ea6163584ca4e Regexp-Grammars-1.058.tar.gz
|
||||||
|
"
|
Loading…
Reference in New Issue
Block a user