# Automatically generated by apkbuild-cpan, template 3 # Contributor: Natanael Copa # Maintainer: Natanael Copa pkgname=perl-regexp-common #_pkgreal is used by apkbuild-cpan to find modules at MetaCpan _pkgreal=Regexp-Common pkgver=2017060201 pkgrel=4 pkgdesc="Provide commonly requested regular expressions" url="https://metacpan.org/release/Regexp-Common/" arch="noarch" license="MIT OR Artistic-2.0" depends="perl" makedepends="perl-dev" checkdepends="perl-test-regexp" subpackages="$pkgname-doc" source="https://cpan.metacpan.org/authors/id/A/AB/ABIGAIL/Regexp-Common-$pkgver.tar.gz" builddir="$srcdir/$_pkgreal-$pkgver" options="!check" # take forever build() { export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}') PERL_MM_USE_DEFAULT=1 perl -I. Makefile.PL INSTALLDIRS=vendor make } check() { export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}') make test } package() { make DESTDIR="$pkgdir" install find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete } sha512sums=" fd046d775214bdca42f868557559595360b069121a75fc119f45e064091000968d9d84154f8a0f06072ecff169dccecf68be58f99a7196932fcb4ffcbd678608 Regexp-Common-2017060201.tar.gz "