# Automatically generated by apkbuild-cpan, template 3 # Contributor: Sheila Aman # Maintainer: Sheila Aman pkgname=perl-cps #_pkgreal is used by apkbuild-cpan to find modules at MetaCpan _pkgreal=CPS pkgver=0.19 pkgrel=5 pkgdesc="manage flow of control in Continuation-Passing Style" url="https://metacpan.org/release/CPS/" arch="noarch" license="GPL-1.0-or-later OR Artistic-1.0-Perl" depends="perl perl-future" makedepends="perl-dev perl-module-build" checkdepends="perl-test-identity perl-test-refcount perl-test-fatal" subpackages="$pkgname-doc" source="https://cpan.metacpan.org/authors/id/P/PE/PEVANS/CPS-$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=" 58479ba56554c6028db34fccc3942eba9e6cd7bfd5a1ee90b540db6d3ed3ef3b61aee354829cde386bc2beef134ee057dd96a5fd1e074d1389f46c8c54a312b0 CPS-0.19.tar.gz "