[arch-commits] CVS update of extra/lib/perl-anyevent (PKGBUILD)

Kevin Piche kevin at archlinux.org
Wed Jan 16 04:33:11 UTC 2008


    Date: Tuesday, January 15, 2008 @ 23:33:11
  Author: kevin
    Path: /home/cvs-extra/extra/lib/perl-anyevent

Modified: PKGBUILD (1.6 -> 1.7)

upgpkg: perl-anyevent 2.8-2
Updated for new perl policy


----------+
 PKGBUILD |   20 ++++++++------------
 1 file changed, 8 insertions(+), 12 deletions(-)


Index: extra/lib/perl-anyevent/PKGBUILD
diff -u extra/lib/perl-anyevent/PKGBUILD:1.6 extra/lib/perl-anyevent/PKGBUILD:1.7
--- extra/lib/perl-anyevent/PKGBUILD:1.6	Tue Jan  8 22:18:04 2008
+++ extra/lib/perl-anyevent/PKGBUILD	Tue Jan 15 23:33:11 2008
@@ -1,30 +1,26 @@
-# $Id: PKGBUILD,v 1.6 2008/01/09 03:18:04 tobias Exp $
+# $Id: PKGBUILD,v 1.7 2008/01/16 04:33:11 kevin Exp $
 # Maintainer: tobias <tobias at archlinux.org>
 # Contributor: Tobias Kieslich <tobias at justdreams.de>
 
 pkgname=perl-anyevent
 _srcname=AnyEvent
 pkgver=2.8
-pkgrel=1
+pkgrel=2
 pkgdesc="Perl/CPAN AnyEvent module - Framework for multiple event loops"
 license=('PerlArtistic')
 arch=(i686 x86_64)
-url="http://search.cpan.org/dist/AnyEvent"
-depends=('perl-event' 'glib-perl')
+url="http://search.cpan.org/dist/${_srcname}/"
+depends=('perl-event' 'glib-perl' 'perl>=5.10.0')
 options=(!emptydirs)
 source=(http://search.cpan.org/CPAN/authors/id/M/ML/MLEHMANN/${_srcname}-${pkgver}.tar.gz)
 md5sums=('cb600241f9108459c7621656339cc442')
 
 build() {
   cd ${startdir}/src/${_srcname}-${pkgver}
-  # Force module installation to "current" perl directories.
-  eval `perl -V:archname`
-  perl Makefile.PL \
-      INSTALLARCHLIB=/usr/lib/perl5/current/${archname} \
-      INSTALLSITELIB=/usr/lib/perl5/site_perl/current \
-      INSTALLSITEARCH=/usr/lib/perl5/site_perl/current/${archname}
-  make || return 1
-  make install DESTDIR=${startdir}/pkg
+  # install module in vendor directories.
+  perl Makefile.PL INSTALLDIRS=vendor || return 1
+  make  || return 1
+  make install DESTDIR=${startdir}/pkg || return 1
 
   # remove perllocal.pod and .packlist
   find ${startdir}/pkg -name perllocal.pod -delete




More information about the arch-commits mailing list