[arch-commits] Commit in perl-package-stash/trunk (PKGBUILD)

Eric Bélanger eric at archlinux.org
Wed Nov 12 22:10:27 UTC 2014


    Date: Wednesday, November 12, 2014 @ 23:10:27
  Author: eric
Revision: 122475

upgpkg: perl-package-stash 0.37-1

Upstream update, Add perl-module-runtime depends, Clean up PKGBUILD

Modified:
  perl-package-stash/trunk/PKGBUILD

----------+
 PKGBUILD |   38 ++++++++++++--------------------------
 1 file changed, 12 insertions(+), 26 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2014-11-12 22:01:50 UTC (rev 122474)
+++ PKGBUILD	2014-11-12 22:10:27 UTC (rev 122475)
@@ -3,45 +3,31 @@
 # Contributor: Justin Davis <jrcd83 at gmail.com>
 
 pkgname=perl-package-stash
-pkgver=0.36
+pkgver=0.37
 pkgrel=1
 pkgdesc="Routines for manipulating stashes"
 arch=('any')
 url="http://search.cpan.org/dist/Package-Stash"
 license=('PerlArtistic' 'GPL')
-depends=('perl' 'perl-dist-checkconflicts' 'perl-package-stash-xs'
-         'perl-package-deprecationmanager' 'perl-scalar-list-utils')
-makedepends=('perl-extutils-makemaker')
-checkdepends=('perl-test-fatal' 'perl-test-requires' 'perl-test-simple'
-              'perl-module-implementation')
+depends=('perl-dist-checkconflicts' 'perl-package-stash-xs'
+         'perl-package-deprecationmanager' 'perl-module-runtime')
+checkdepends=('perl-test-fatal' 'perl-test-requires' 'perl-module-implementation')
 options=('!emptydirs')
 source=(http://search.cpan.org/CPAN/authors/id/D/DO/DOY/Package-Stash-$pkgver.tar.gz)
-md5sums=('066aa5099af88457c4f1eb2448272061')
+sha1sums=('43fc4e362ac1a45eb27fe779806cbd96c891e2dc')
 
 build() {
-  ( export PERL_MM_USE_DEFAULT=1 PERL5LIB=""  \
-      PERL_AUTOINSTALL="--skipdeps"           \
-      PERL_MM_OPT="INSTALLDIRS=vendor"        \
-      PERL_MB_OPT="--installdirs vendor"      \
-      MODULEBUILDRC=/dev/null
-
-    cd "$srcdir"/Package-Stash-$pkgver
-
-    /usr/bin/perl Makefile.PL
-    make
-  )
+  cd Package-Stash-$pkgver
+  perl Makefile.PL INSTALLDIRS=vendor
+  make
 }
 
 check() {
-  ( export PERL_MM_USE_DEFAULT=1 PERL5LIB=""
-    cd "$srcdir"/Package-Stash-$pkgver
-
-    make test
-  )
+  cd Package-Stash-$pkgver
+  make test
 }
 
 package() {
-    cd "$srcdir"/Package-Stash-$pkgver
-
-    make DESTDIR="$pkgdir"/ install
+  cd Package-Stash-$pkgver
+  make DESTDIR="$pkgdir" install
 }


More information about the arch-commits mailing list