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

Eric Bélanger eric at nymeria.archlinux.org
Wed Mar 20 23:25:01 UTC 2013


    Date: Thursday, March 21, 2013 @ 00:25:01
  Author: eric
Revision: 86658

upgpkg: perl-local-lib 1.008009-1

Upstream update, PKGBUILD clean up

Modified:
  perl-local-lib/trunk/PKGBUILD

----------+
 PKGBUILD |   16 +++++++---------
 1 file changed, 7 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-03-20 23:12:00 UTC (rev 86657)
+++ PKGBUILD	2013-03-20 23:25:01 UTC (rev 86658)
@@ -2,18 +2,16 @@
 # $Id$
 
 pkgname=perl-local-lib
-pkgver=1.008004
-pkgrel=2
+pkgver=1.008009
+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')
-url=https://metacpan.org/release/local-lib
+url="https://metacpan.org/release/local-lib"
 source=("http://search.cpan.org/CPAN/authors/id/A/AP/APEIRON/local-lib-${pkgver}.tar.gz")
-md5sums=(6244fa9d77e818594acbaf572aece326)
-sha512sums=(4ed2bf88a0cd5bcbe7cf04bf0cd24fea7ddc7bfa4c18700b4a49ccb9111bf57cab6ea06fb59bd7914cb24d4786bedb73ac2f02cb00faaa61118fe1d771932984)
-_distdir="${srcdir}/local-lib-${pkgver}"
+md5sums=('96e6216d582488b1a598aa1300e05e05')
 
 build()
 (
@@ -23,7 +21,7 @@
       PERL_MB_OPT="--installdirs vendor" \
       MODULEBUILDRC=/dev/null
 
-    cd "$_distdir"
+    cd local-lib-${pkgver}
     /usr/bin/perl Makefile.PL
     make
 )
@@ -31,12 +29,12 @@
 check()
 (
     export PERL_MM_USE_DEFAULT=1 PERL5LIB=""
-    cd "$_distdir"
+    cd local-lib-${pkgver}
     make test
 )
 
 package() {
-    cd "$_distdir"
+    cd local-lib-${pkgver}
     make DESTDIR="$pkgdir" install
 }
 




More information about the arch-commits mailing list