aboutsummaryrefslogtreecommitdiffstats
path: root/main/perl-net-async-http/APKBUILD
blob: 9551ad03165de39ee626ec66b08423d2b5d960fc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Automatically generated by apkbuild-cpan, template 3
# Contributor: Sheila Aman <sheila@vulpine.house>
# Maintainer: Sheila Aman <sheila@vulpine.house>
pkgname=perl-net-async-http
#_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
_pkgreal=Net-Async-HTTP
pkgver=0.48
pkgrel=1
pkgdesc="use HTTP with C<IO::Async>"
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() {
	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"