# Automatically generated by apkbuild-cpan, template 4 # Maintainer: Celeste maintainer="Celeste " pkgname=perl-regexp-grammars pkgver=1.058 pkgrel=0 #_pkgreal is used by apkbuild-cpan to find modules at MetaCpan _pkgreal=Regexp-Grammars 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 "