# Automatically generated by apkbuild-cpan, template 3 # Maintainer: Natanael Copa pkgname=perl-future #_pkgreal is used by apkbuild-cpan to find modules at MetaCpan _pkgreal=Future pkgver=0.50 pkgrel=1 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-module-build" checkdepends="perl-test2-suite" subpackages="$pkgname-doc" source="https://cpan.metacpan.org/authors/id/P/PE/PEVANS/Future-$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=" d8c0011d0dcee9bb0317a394da34925d6a5e214ff8706158268d546f5b0e6d8fad7a8edafda2eada15bcca20d2da9ae722018c6dd0ff9a69bae1c0759776f616 Future-0.50.tar.gz "