ayaports/user/perl-ev/APKBUILD
2022-07-29 15:47:03 +00:00

31 lines
832 B
Text

# Maintainer: Antoine Martin <antoine@ayakael.net>
pkgname=perl-ev
pkgver=4.33
pkgrel=0
pkgdesc='perl interface to libev, a high performance full-featured event loop'
arch='x86_64'
license='PerlArtistic GPL'
options='!emptydirs'
depends='perl-common-sense'
makedepends='perl-canary-stability perl-dev'
url='https://metacpan.org/release/EV'
source="https://search.cpan.org/CPAN/authors/id/M/ML/MLEHMANN/EV-$pkgver.tar.gz"
subpackages="$pkgname-doc"
build() {
cd $srcdir/EV-$pkgver
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
make
}
check() {
cd $srcdir/EV-$pkgver
make test
}
package() {
cd $srcdir/EV-$pkgver
make install DESTDIR="$pkgdir"
}
sha512sums="dd90739888ffd793652fc6590cbfd6f3df1ea25b1a6e478dc903ef10f49f9c729e87005b94f47786ca7603cf27b02e1d5d8a2941037bef25ba5a83fe608e89c5 EV-4.33.tar.gz"