summaryrefslogblamecommitdiff
path: root/user/perl-anyevent/APKBUILD
blob: 2f67c1edb3a20d2e74f556fe809afdc3e1309e5b (plain) (tree)
1
2
3
4


                                                                   
           




























                                                                                   
                                                                                                                                                                   
# Contributor: Dan Theisen <djt@hxx.in>
# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
pkgname=perl-anyevent
pkgver=7.15
pkgrel=0
pkgdesc="The DBI of event loop programming"
url="https://metacpan.org/pod/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() {
	cd "$builddir"
	PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
	make
}

check() {
	cd "$builddir"
	make test
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install
	find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}

sha512sums="90ed9c89313e3ed07461e3426230083850a02ed1796b3c1eaaed1e7e6f77cb24609a36b6cdae7cd907c9867a2a347b8833f73c5718e52832bb57db7a356d3cd1  AnyEvent-7.15.tar.gz"