# Automatically generated by apkbuild-cpan, template 3 # Contributor: Timothy Legge # Maintainer: Timothy Legge pkgname=perl-syntax-keyword-match #_pkgreal is used by apkbuild-cpan to find modules at MetaCpan _pkgreal=Syntax-Keyword-Match pkgver=0.13 pkgrel=0 pkgdesc="a C syntax for perl" url="https://metacpan.org/release/Syntax-Keyword-Match/" arch="all" license="GPL-1.0-or-later OR Artistic-1.0-Perl" depends="perl perl-xs-parse-keyword" makedepends="perl-dev perl-xs-parse-keyword perl-module-build" checkdepends="perl-test2-suite" subpackages="$pkgname-doc" source="https://cpan.metacpan.org/authors/id/P/PE/PEVANS/Syntax-Keyword-Match-$pkgver.tar.gz" builddir="$srcdir/$_pkgreal-$pkgver" build() { export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}') perl Build.PL --installdirs=vendor ./Build } check() { ./Build test } package() { ./Build install --destdir="$pkgdir" find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete } sha512sums=" 472a0b25b8f19a09f0a7d51963bb76382a6273e505b4141148353f0375610e77d2d458fc7cf6e1cb02aa127f252f882559b186bc35b441af5fa1dad7e3aa4e25 Syntax-Keyword-Match-0.13.tar.gz "