# Automatically generated by apkbuild-cpan, template 3 # Contributor: Kiyoshi Aman # Maintainer: Kiyoshi Aman pkgname=perl-net-async-http #_pkgreal is used by apkbuild-cpan to find modules at MetaCpan _pkgreal=Net-Async-HTTP pkgver=0.48 pkgrel=0 pkgdesc="use HTTP with C" url="https://metacpan.org/release/Net-Async-HTTP/" arch="noarch" license="GPL-1.0-or-later OR Artistic-1.0-Perl" depends="perl perl-io-async perl-future perl-uri perl-http-message perl-struct-dumb perl-metrics-any" makedepends="perl-dev perl-test-identity perl-http-cookies perl-test-refcount perl-module-build perl-io-async perl-test-metrics-any" subpackages="$pkgname-doc" source="https://cpan.metacpan.org/authors/id/P/PE/PEVANS/Net-Async-HTTP-$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="40592c345574edb1274b797356f0077aaddbbb2d7d6ae7c13903b2d9184e4605e911dd0f0c55ecfee68a06e403840f6f5672972d71aa3dce823fdf56caf281dc Net-Async-HTTP-0.48.tar.gz"