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

Eric Bélanger eric at nymeria.archlinux.org
Fri Jul 12 05:41:03 UTC 2013


    Date: Friday, July 12, 2013 @ 07:41:02
  Author: eric
Revision: 93962

upgpkg: perl-local-lib 1.008010-1

Upstream update, Update source url, PKGBUILD clean up

Modified:
  perl-local-lib/trunk/PKGBUILD

----------+
 PKGBUILD |   55 ++++++++++++++++++++-----------------------------------
 1 file changed, 20 insertions(+), 35 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-07-12 04:44:02 UTC (rev 93961)
+++ PKGBUILD	2013-07-12 05:41:02 UTC (rev 93962)
@@ -1,45 +1,30 @@
-# Packager: Justin "juster" Davis <jrcd83 at gmail.com>
 # $Id$
+# Maintainer: 
 
 pkgname=perl-local-lib
-pkgver=1.008009
+pkgver=1.008010
 pkgrel=1
-pkgdesc="create and use a local lib/ for perl modules with PERL5LIB"
-arch=(any)
-license=(PerlArtistic GPL)
-options=(!emptydirs)
-depends=('perl>=5.8.1')
+pkgdesc="Create and use a local lib/ for perl modules with PERL5LIB"
+arch=('any')
 url="https://metacpan.org/release/local-lib"
-source=("http://search.cpan.org/CPAN/authors/id/A/AP/APEIRON/local-lib-${pkgver}.tar.gz")
-md5sums=('96e6216d582488b1a598aa1300e05e05')
+license=('PerlArtistic' 'GPL')
+depends=('perl')
+options=('!emptydirs')
+source=("http://search.cpan.org/CPAN/authors/id/E/ET/ETHER/local-lib-${pkgver}.tar.gz")
+md5sums=('c5573c46eac26e589c5542c03925ae87')
 
-build()
-(
-    export PERL_MM_USE_DEFAULT=1 PERL5LIB=""                 \
-      PERL_AUTOINSTALL=--skipdeps                            \
-      PERL_MM_OPT="INSTALLDIRS=vendor"     \
-      PERL_MB_OPT="--installdirs vendor" \
-      MODULEBUILDRC=/dev/null
+build() {
+  cd local-lib-${pkgver}
+  perl Makefile.PL INSTALLDIRS=vendor
+  make
+}
 
-    cd local-lib-${pkgver}
-    /usr/bin/perl Makefile.PL
-    make
-)
+check() {
+  cd local-lib-${pkgver}
+  make test
+}
 
-check()
-(
-    export PERL_MM_USE_DEFAULT=1 PERL5LIB=""
-    cd local-lib-${pkgver}
-    make test
-)
-
 package() {
-    cd local-lib-${pkgver}
-    make DESTDIR="$pkgdir" install
+  cd local-lib-${pkgver}
+  make DESTDIR="$pkgdir" install
 }
-
-# Local Variables:
-# mode: shell-script
-# sh-basic-offset: 2
-# End:
-# vim:set ts=2 sw=2 et:




More information about the arch-commits mailing list