[arch-commits] Commit in perl-anyevent/repos (staging-any staging-any/PKGBUILD)

Evangelos Foutras foutrelis at archlinux.org
Sat May 25 09:49:23 UTC 2019


    Date: Saturday, May 25, 2019 @ 09:49:23
  Author: foutrelis
Revision: 354155

archrelease: copy trunk to staging-any

Added:
  perl-anyevent/repos/staging-any/
  perl-anyevent/repos/staging-any/PKGBUILD
    (from rev 354154, perl-anyevent/trunk/PKGBUILD)

----------+
 PKGBUILD |   38 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 38 insertions(+)

Copied: perl-anyevent/repos/staging-any/PKGBUILD (from rev 354154, perl-anyevent/trunk/PKGBUILD)
===================================================================
--- staging-any/PKGBUILD	                        (rev 0)
+++ staging-any/PKGBUILD	2019-05-25 09:49:23 UTC (rev 354155)
@@ -0,0 +1,38 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=perl-anyevent
+pkgver=7.15
+pkgrel=2
+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")
+sha512sums=('90ed9c89313e3ed07461e3426230083850a02ed1796b3c1eaaed1e7e6f77cb24609a36b6cdae7cd907c9867a2a347b8833f73c5718e52832bb57db7a356d3cd1')
+
+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
+}



More information about the arch-commits mailing list