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

Eric Bélanger eric at archlinux.org
Thu Oct 23 18:16:51 UTC 2014


    Date: Thursday, October 23, 2014 @ 20:16:51
  Author: eric
Revision: 121318

upgpkg: perl-mouse 2.4.1-1

Upstream update, Clean up PKGBUILD

Modified:
  perl-mouse/trunk/PKGBUILD

----------+
 PKGBUILD |   33 ++++++++++-----------------------
 1 file changed, 10 insertions(+), 23 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2014-10-23 17:48:57 UTC (rev 121317)
+++ PKGBUILD	2014-10-23 18:16:51 UTC (rev 121318)
@@ -1,9 +1,8 @@
 # $Id$
-# Maintainer: Jonathan Steel <jsteel at aur.archlinux.org>
-# Contributor: Justin Davis <jrcd83 at gmail.com>
+# Maintainer:
 
 pkgname=perl-mouse
-pkgver=2.3.0
+pkgver=2.4.1
 pkgrel=1
 pkgdesc="Moose minus the antlers"
 arch=('i686' 'x86_64')
@@ -15,32 +14,20 @@
              'perl-test-leaktrace' 'perl-test-output' 'perl-test-deep'
              'perl-io-string')
 source=(http://search.cpan.org/CPAN/authors/id/G/GF/GFUJI/Mouse-$pkgver.tar.gz)
-md5sums=('aae2b55f280f773a92fa16c6bdcc358d')
+md5sums=('2e265bdde5f148cf0c1f788cf0f87291')
 
 build() {
-  cd "$srcdir"/Mouse-$pkgver
-
-  ( export PERL_MM_USE_DEFAULT=1 PERL5LIB=""                  \
-      PERL_AUTOINSTALL=--skipdeps                             \
-      PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='$pkgdir'"      \
-      PERL_MB_OPT="--installdirs vendor --destdir '$pkgdir'"  \
-      MODULEBUILDRC=/dev/null
-
-    /usr/bin/perl Build.PL
-    ./Build
-  )
+  cd Mouse-$pkgver
+  perl Build.PL --installdirs=vendor
+  ./Build
 }
 
 check() {
-  cd "$srcdir"/Mouse-$pkgver
-
-  ( export PERL_MM_USE_DEFAULT=1 PERL5LIB=""
-    ./Build test
-  )
+  cd Mouse-$pkgver
+  ./Build test
 }
 
 package() {
-  cd "$srcdir"/Mouse-$pkgver
-
-  ./Build install
+  cd Mouse-$pkgver
+  ./Build install --destdir="${pkgdir}"
 }



More information about the arch-commits mailing list