[arch-commits] Commit in perl-anyevent/trunk (PKGBUILD)

Eric Bélanger eric at nymeria.archlinux.org
Tue Oct 29 00:56:24 UTC 2013


    Date: Tuesday, October 29, 2013 @ 01:56:23
  Author: eric
Revision: 197721

upgpkg: perl-anyevent 4:7.05-1

Upstream update, Clean up PKGBUILD

Modified:
  perl-anyevent/trunk/PKGBUILD

----------+
 PKGBUILD |   48 +++++++++++++++++-------------------------------
 1 file changed, 17 insertions(+), 31 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-10-28 23:19:38 UTC (rev 197720)
+++ PKGBUILD	2013-10-29 00:56:23 UTC (rev 197721)
@@ -1,47 +1,33 @@
-# Packager: Justin Davis (juster) <jrcd83 at gmail.com>
 # $Id$
+# Maintainer:
 
 pkgname=perl-anyevent
-pkgver=7.04
+pkgver=7.05
 pkgrel=1
-pkgdesc='the DBI of event loop programming'
 epoch=4
-arch=(any)
-license=(PerlArtistic GPL)
-options=(!emptydirs)
-depends=(perl 'perl-ev>=4.00' 'perl-guard>=1.02' 'perl-async-interrupt>=1.0')
+pkgdesc='The DBI of event loop programming'
+arch=('any')
+url="https://metacpan.org/release/AnyEvent"
+license=('PerlArtistic' 'GPL')
+depends=('perl-ev' 'perl-guard' 'perl-async-interrupt')
 optdepends=('perl-net-ssleay: TLS/SSL connections with AnyEvent::Handle'
             'perl-json-xs: send or receive JSON with AnyEvent::Handle')
-url=https://metacpan.org/release/AnyEvent
+options=('!emptydirs')
 source=("http://search.cpan.org/CPAN/authors/id/M/ML/MLEHMANN/AnyEvent-$pkgver.tar.gz")
-md5sums=('89c74c94f5b145b5330236708c5b0083')
+md5sums=('e329cb8549d2eedcacee56a962a7e3fe')
 
-build()
-(
+build() {
   cd AnyEvent-$pkgver
-  export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps
-  unset PERL5LIB PERL_MM_OPT
-  /usr/bin/perl Makefile.PL
+  perl Makefile.PL INSTALLDIRS=vendor
   make
-)
+}
 
-check()
-(
+check() {
   cd AnyEvent-$pkgver
-  export PERL_MM_USE_DEFAULT=1
-  unset PERL5LIB
-  export PERL_ANYEVENT_LOOP_TESTS=1 PERL_ANYEVENT_NEW_TESTS=1
   make test
-)
+}
 
-package()
-(
+package() {
   cd AnyEvent-$pkgver
-  make install INSTALLDIRS=vendor DESTDIR="$pkgdir"
-)
-
-# Local Variables:
-# mode: shell-script
-# sh-basic-offset: 2
-# End:
-# vim:set ts=2 sw=2 et:
+  make DESTDIR="$pkgdir" install
+}




More information about the arch-commits mailing list