projects/aports·blob master · refs

38 lines · 1.1 KiB

1# Automatically generated by apkbuild-cpan, template 4
2# Contributor: Celeste <[email protected]>
3# Maintainer:
4pkgname=perl-io-async-loop-epoll
5pkgver=0.23
6pkgrel=1
7#_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
8_pkgreal=IO-Async-Loop-Epoll
9pkgdesc="Use IO::Async with Linux::Epoll"
10url="https://metacpan.org/release/IO-Async-Loop-Epoll/"
11arch="noarch"
12license="GPL-1.0-or-later OR Artistic-1.0-Perl"
13depends="perl perl-io-async perl-linux-epoll perl-struct-dumb"
14makedepends="perl-module-build"
15checkdepends="perl-io-async-looptests"
16subpackages="$pkgname-doc"
17source="https://cpan.metacpan.org/authors/id/P/PE/PEVANS/IO-Async-Loop-Epoll-$pkgver.tar.gz"
18builddir="$srcdir/$_pkgreal-$pkgver"
19
20build() {
21 export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
22 perl Build.PL \
23 --installdirs=vendor \
24 --create_packlist=0
25 ./Build
26}
27
28check() {
29 ./Build test
30}
31
32package() {
33 ./Build install --destdir="$pkgdir"
34}
35
36sha512sums="
37383b467cb7c698c5187181f6519f6584c603f62701a82ef57500867df885ee2f3e35956a5c4142630e841bcda4ff8fafe64d51dbc77dffe103f10be6fcf7fba2 IO-Async-Loop-Epoll-0.23.tar.gz
38"