mirror of
				https://gitlab.alpinelinux.org/alpine/aports.git
				synced 2025-10-31 16:31:40 +01:00 
			
		
		
		
	https://metacpan.org/release/Regexp-Grammars/ Add grammatical parsing features to Perl 5.10 regexes Needed as makedepends for testing/strfry
		
			
				
	
	
		
			39 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			39 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| # 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
 | |
| "
 |