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

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


    Date: Thursday, March 21, 2013 @ 00:31:35
  Author: eric
Revision: 86660

upgpkg: perl-sub-exporter 0.985-1

Upstream update, PKGBUILD clean up

Modified:
  perl-sub-exporter/trunk/PKGBUILD

----------+
 PKGBUILD |   13 ++++++-------
 1 file changed, 6 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-03-20 23:25:22 UTC (rev 86659)
+++ PKGBUILD	2013-03-20 23:31:35 UTC (rev 86660)
@@ -2,7 +2,7 @@
 # $Id$
 
 pkgname=perl-sub-exporter
-pkgver=0.984
+pkgver=0.985
 pkgrel=1
 pkgdesc="a sophisticated exporter for custom-built routines"
 arch=(any)
@@ -10,10 +10,9 @@
 options=(!emptydirs)
 depends=('perl>=5.6.0' 'perl-data-optlist>=0.1' 'perl-params-util>=0.14'
          'perl-sub-install>=0.92')
-url=https://metacpan.org/release/Sub-Exporter
+url="https://metacpan.org/release/Sub-Exporter"
 source=("http://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/Sub-Exporter-${pkgver}.tar.gz")
-md5sums=('cfa19c5f09bc08f49174856c0bfd7849')
-_distdir="${srcdir}/Sub-Exporter-${pkgver}"
+md5sums=('233b9a1d86a4395de7e1afe5b60632b7')
 
 build() {
   ( export PERL_MM_USE_DEFAULT=1 PERL5LIB=""                 \
@@ -22,7 +21,7 @@
       PERL_MB_OPT="--installdirs vendor" \
       MODULEBUILDRC=/dev/null
 
-    cd "$_distdir"
+    cd Sub-Exporter-${pkgver}
     /usr/bin/perl Makefile.PL
     make
   )
@@ -30,13 +29,13 @@
 
 check() {
   ( export PERL_MM_USE_DEFAULT=1 PERL5LIB=""
-    cd "$_distdir"
+    cd Sub-Exporter-${pkgver}
     make test
   )
 }
 
 package() {
-    cd "$_distdir"
+    cd Sub-Exporter-${pkgver}
     make DESTDIR="$pkgdir" install
 }
 




More information about the arch-commits mailing list