Skip to content
Snippets Groups Projects
Commit b6e7481c authored by Celeste's avatar Celeste Committed by omni
Browse files

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
parent 89dffa79
No related branches found
No related tags found
1 merge request!59583testing/strfry: new aport
# 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
"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment