# Automatically generated by apkbuild-cpan, template 1 # Contributor: Kiyoshi Aman # Maintainer: Kiyoshi Aman pkgname=perl-net-async-http _pkgreal=Net-Async-HTTP pkgver=0.44 pkgrel=0 pkgdesc="Use HTTP with C" url="http://search.cpan.org/dist/Net-Async-HTTP/" arch="noarch" license="GPL-1.0-or-later OR Artistic-1.0-Perl" cpandepends="perl-io-async perl-future perl-uri perl-http-message perl-struct-dumb" cpanmakedepends="perl-test-identity perl-http-cookies" depends="$cpandepends" makedepends="perl-dev $cpanmakedepends perl-test-refcount perl-module-build" subpackages="$pkgname-doc" source="http://search.cpan.org/CPAN/authors/id/P/PE/PEVANS/$_pkgreal-$pkgver.tar.gz" builddir="$srcdir/$_pkgreal-$pkgver" prepare() { cd "$builddir" export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}') perl Build.PL installdirs=vendor } build() { cd "$builddir" export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}') ./Build } check() { cd "$builddir" ./Build test } package() { cd "$builddir" ./Build install destdir="$pkgdir" find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete } sha512sums="e490e1e64eded28958e79324b2f954b8663c7b3790667b963b73f3e04d0bb2c20652c3442853ae92802815447af6818029c49156dd37ce3e07caa88e1431cb3e Net-Async-HTTP-0.44.tar.gz"