[arch-commits] Commit in perl-anyevent/trunk (PKGBUILD)
Justin Davis
juster at archlinux.org
Tue May 15 18:49:54 UTC 2012
Date: Tuesday, May 15, 2012 @ 14:49:54
Author: juster
Revision: 159114
upgpkg: perl-anyevent 3:7.01-1
Modified:
perl-anyevent/trunk/PKGBUILD
----------+
PKGBUILD | 62 +++++++++++++++++++++++++++++--------------------------------
1 file changed, 30 insertions(+), 32 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2012-05-15 18:43:42 UTC (rev 159113)
+++ PKGBUILD 2012-05-15 18:49:54 UTC (rev 159114)
@@ -1,49 +1,47 @@
-# Packager: Justin Davis <jrcd83 at gmail.com>
+# Packager: Justin Davis (juster) <jrcd83 at gmail.com>
# $Id$
pkgname=perl-anyevent
-pkgver=6.13
+pkgver=7.01
pkgrel=1
-pkgdesc="the DBI of event loop programming"
-epoch=2
+pkgdesc='the DBI of event loop programming'
+epoch=3
arch=(any)
license=(PerlArtistic GPL)
options=(!emptydirs)
-depends=('perl' 'perl-ev>=4.00' 'perl-guard>=1.02' 'perl-async-interrupt>=1.0')
+depends=(perl 'perl-ev>=4.00' 'perl-guard>=1.02' 'perl-async-interrupt>=1.0')
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
-source=("http://search.cpan.org/CPAN/authors/id/M/ML/MLEHMANN/AnyEvent-${pkgver}.tar.gz")
-md5sums=(f20be873d23eb0c72dcf909908cafea4)
-sha512sums=(eab285fa45f4c728ee8943e2798b61e7b12d5e5e8e400c4f1b4b87e339f0ce566e5018cbffd2ad58825a8ececa41490f20befce74023992ce58b77f15bea2563)
-_distdir="${srcdir}/AnyEvent-${pkgver}"
+source=("http://search.cpan.org/CPAN/authors/id/M/ML/MLEHMANN/AnyEvent-$pkgver.tar.gz")
+md5sums=(f26c1d03d7f5fe7d82e6885e5887bf8f)
+sha512sums=(3f98f917c6298a2f22e7f295ac8596afd03ef279511d3a25e602a9bfc401e0a380345b58cc9932bdb04765377031d0ac865de9caf9f8bb6ccedb0f0a8c2bad93)
+_dir="$srcdir/AnyEvent-$pkgver"
-build() {
- ( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" \
- PERL_AUTOINSTALL=--skipdeps \
- PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='$pkgdir'" \
- PERL_MB_OPT="--installdirs vendor --destdir '$pkgdir'" \
- MODULEBUILDRC=/dev/null
+build()
+(
+ cd "$_dir"
+ export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps
+ unset PERL5LIB PERL_MM_OPT
+ /usr/bin/perl Makefile.PL
+ make
+)
- cd "$_distdir"
- /usr/bin/perl Makefile.PL
- make
- )
-}
+check()
+(
+ cd "$_dir"
+ export PERL_MM_USE_DEFAULT=1
+ unset PERL5LIB
+ make test
+)
-check() {
- ( export PERL_MM_USE_DEFAULT=1 PERL5LIB=""
- cd "$_distdir"
- make test
- )
-}
+package()
+(
+ cd "$_dir"
+ make install INSTALLDIRS=vendor DESTDIR="$pkgdir"
+ find "$pkgdir" -name .packlist -o -name perllocal.pod -delete
+)
-package() {
- cd "$_distdir"
- make DESTDIR="$pkgdir" install
- find "$pkgdir" -name .packlist -o -name perllocal.pod -delete
-}
-
# Local Variables:
# mode: shell-script
# sh-basic-offset: 2
More information about the arch-commits
mailing list