# Contributor: Dan Theisen <djt@hxx.in> # Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org> pkgname=perl-anyevent pkgver=7.16 pkgrel=0 pkgdesc="The DBI of event loop programming" url="https://metacpan.org/release/AnyEvent" arch="noarch" license="Artistic-1.0-Perl AND GPL-2.0" depends="perl" makedepends="perl-dev" install="" subpackages="$pkgname-doc" source="https://cpan.metacpan.org/authors/id/M/ML/MLEHMANN/AnyEvent-$pkgver.tar.gz" builddir="$srcdir/AnyEvent-$pkgver" build() { PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor make } check() { make test } package() { make DESTDIR="$pkgdir" install find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete } sha512sums="27c794d5e78a7c359b0e48ef698be4ef56787b54f457d9397795abade9d55460f8acc086f8becabb37f1195d014cd441e3e9783dcca2e1c550c64453960d4cd4 AnyEvent-7.16.tar.gz"