# Automatically generated by apkbuild-cpan, template 1 # Maintainer: Natanael Copa pkgname=perl-future _pkgreal=Future pkgver=0.44 pkgrel=0 pkgdesc="Represent an operation awaiting completion" url="https://metacpan.org/release/Future" arch="noarch" license="GPL-1.0-or-later OR Artistic-1.0-Perl" depends="perl" makedepends="perl-dev perl-test-fatal perl-test-refcount perl-test-identity perl-module-build" subpackages="$pkgname-doc" source="https://cpan.metacpan.org/authors/id/P/PE/PEVANS/Future-$pkgver.tar.gz" builddir="$srcdir/$_pkgreal-$pkgver" prepare() { default_prepare export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}') perl Build.PL installdirs=vendor } build() { export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}') ./Build } check() { ./Build test } package() { ./Build install destdir="$pkgdir" find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete } sha512sums="770040cfff6049acea64e49c76b7e4788a3a9d957f6a54066ffc91eafea9ff5c5cfd7f6377d0f59b126ef313f72769ab7b2c7051988baf9683d393fa4c293bb5 Future-0.44.tar.gz"