1 # Maintainer: Felix Yan <felixonmars@archlinux.org>
7 pkgdesc='The DBI of event loop programming'
9 url="https://metacpan.org/release/AnyEvent"
10 license=('PerlArtistic' 'GPL')
12 checkdepends=('glib-perl' 'perl-async-interrupt' 'perl-ev' 'perl-net-ssleay')
13 optdepends=('perl-async-interrupt: for fast signal handling'
14 'perl-ev: for the recommended EV event loop backend'
15 'perl-guard: to speed up guards'
16 'perl-json: send or receive JSON with AnyEvent::Handle'
17 'perl-json-xs: send or receive JSON with AnyEvent::Handle'
18 'perl-net-ssleay: TLS/SSL connections with AnyEvent::Handle')
19 options=('!emptydirs')
20 source=("https://search.cpan.org/CPAN/authors/id/M/ML/MLEHMANN/AnyEvent-$pkgver.tar.gz")
21 sha512sums=('c553cce80fa14e2f91031c569d1c30acf470871ddd1c122fa3dd36cd1ba5b7002e7ba1dea4c950d889c7c661b81042dd97975e195a5325190ad644babff81e0a')
25 PERL_CANARY_STABILITY_NOPROMPT=1 \
26 perl Makefile.PL INSTALLDIRS=vendor
32 PERL_ANYEVENT_LOOP_TESTS=true make test
37 make DESTDIR="$pkgdir" install