mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-18 22:54:00 +00:00
49 lines
1.6 KiB
Bash
49 lines
1.6 KiB
Bash
# $Id$
|
|
# Maintainer: Felix Yan <felixonmars@archlinux.org>
|
|
|
|
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
|
# - patch to replace deprecated SSL_ST_OK state with TLS_ST_OK (1)
|
|
|
|
pkgname=perl-anyevent
|
|
pkgver=7.16
|
|
pkgrel=1
|
|
epoch=4
|
|
pkgdesc='The DBI of event loop programming'
|
|
arch=('any')
|
|
url="https://metacpan.org/release/AnyEvent"
|
|
license=('PerlArtistic' 'GPL')
|
|
depends=('perl')
|
|
checkdepends=('glib-perl' 'perl-async-interrupt' 'perl-ev' 'perl-net-ssleay')
|
|
optdepends=('perl-async-interrupt: for fast signal handling'
|
|
'perl-ev: for the recommended EV event loop backend'
|
|
'perl-guard: to speed up guards'
|
|
'perl-json: send or receive JSON with AnyEvent::Handle'
|
|
'perl-json-xs: send or receive JSON with AnyEvent::Handle'
|
|
'perl-net-ssleay: TLS/SSL connections with AnyEvent::Handle')
|
|
options=('!emptydirs')
|
|
source=("http://search.cpan.org/CPAN/authors/id/M/ML/MLEHMANN/AnyEvent-$pkgver.tar.gz"
|
|
openssl.patch)
|
|
sha512sums=('27c794d5e78a7c359b0e48ef698be4ef56787b54f457d9397795abade9d55460f8acc086f8becabb37f1195d014cd441e3e9783dcca2e1c550c64453960d4cd4'
|
|
'22d8d48e4f3f08888cccb43edcad8a0127f811ab524899cf1f97a0501a9e3a096f0870f680d94352dd47544c10f29963cb7484a2503b5af58302b217869e2128')
|
|
|
|
prepare() {
|
|
cd AnyEvent-$pkgver
|
|
patch -p1 -i ../openssl.patch
|
|
}
|
|
|
|
build() {
|
|
cd AnyEvent-$pkgver
|
|
PERL_CANARY_STABILITY_NOPROMPT=1 \
|
|
perl Makefile.PL INSTALLDIRS=vendor
|
|
make
|
|
}
|
|
|
|
check() {
|
|
cd AnyEvent-$pkgver
|
|
PERL_ANYEVENT_LOOP_TESTS=true make test
|
|
}
|
|
|
|
package() {
|
|
cd AnyEvent-$pkgver
|
|
make DESTDIR="$pkgdir" install
|
|
}
|