# $Id: PKGBUILD 210600 2014-04-15 09:26:43Z fyan $ # Maintainer: pkgname=perl-ev pkgver=4.17 pkgrel=1 pkgdesc='perl interface to libev, a high performance full-featured event loop' arch=(i686 x86_64) license=(PerlArtistic GPL) options=(!emptydirs) depends=(perl-common-sense) url=https://metacpan.org/release/EV source=("http://search.cpan.org/CPAN/authors/id/M/ML/MLEHMANN/EV-$pkgver.tar.gz") md5sums=('ffc39299fab4589bb850b5a46ccd2395') build() { cd EV-$pkgver export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps unset PERL5LIB PERL_MM_OPT perl Makefile.PL make } check() { cd EV-$pkgver export PERL_MM_USE_DEFAULT=1 unset PERL5LIB make test } package() { cd EV-$pkgver make install INSTALLDIRS=vendor DESTDIR="$pkgdir" }