# Automatically generated by apkbuild-cpan, template 3 # Contributor: rubicon # Maintainer: rubicon pkgname=perl-syntax-keyword-defer #_pkgreal is used by apkbuild-cpan to find modules at MetaCpan _pkgreal=Syntax-Keyword-Defer pkgver=0.07 pkgrel=1 pkgdesc="execute code when leaving a block" url="https://metacpan.org/release/Syntax-Keyword-Defer/" 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 perl-module-build" subpackages="$pkgname-doc" source="https://cpan.metacpan.org/authors/id/P/PE/PEVANS/Syntax-Keyword-Defer-$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=" 7924c1dc6270c6cdc7b6c9b3494ce5793fba2ad2e693aab6c45067d133162e2ac9688bf65f82d065c0bc4cdfad1fae026aedf2c1de2c503d1048b9f139bf4702 Syntax-Keyword-Defer-0.07.tar.gz "