# Automatically generated by apkbuild-cpan, template 3 # Contributor: rubicon # Maintainer: rubicon pkgname=perl-future-asyncawait #_pkgreal is used by apkbuild-cpan to find modules at MetaCpan _pkgreal=Future-AsyncAwait pkgver=0.58 pkgrel=1 pkgdesc="deferred subroutine syntax for futures" url="https://metacpan.org/release/Future-AsyncAwait/" arch="all" license="GPL-1.0-or-later OR Artistic-1.0-Perl" depends="perl perl-future perl-xs-parse-sublike perl-xs-parse-keyword" makedepends="perl-dev perl-module-build" checkdepends="perl-test-refcount perl-future perl-test-fatal" subpackages="$pkgname-doc" source="https://cpan.metacpan.org/authors/id/P/PE/PEVANS/Future-AsyncAwait-$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=" cc940dcc90e8e08f51567879a6d8ac68222b3b49dc69c8dab9f0c4d3b40c5442a04d25ca6e2e7ddd0bb0a1debab77b6ff58ad7500b5d902453db1bc84ef622ed Future-AsyncAwait-0.58.tar.gz "