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

Jonathan Steel jsteel at nymeria.archlinux.org
Sat Jul 13 15:26:25 UTC 2013


    Date: Saturday, July 13, 2013 @ 17:26:25
  Author: jsteel
Revision: 94065

upgpkg: perl-test-requires 0.07-1

Modified:
  perl-test-requires/trunk/PKGBUILD

----------+
 PKGBUILD |   31 ++++++++++++++++++-------------
 1 file changed, 18 insertions(+), 13 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-07-13 14:17:21 UTC (rev 94064)
+++ PKGBUILD	2013-07-13 15:26:25 UTC (rev 94065)
@@ -1,9 +1,10 @@
 # $Id$
-# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Maintainer: Jonathan Steel <jsteel at aur.archlinux.org>
+# Contributor: Sergej Pupykin <pupykin.s+arch at gmail.com>
 # Contributor: Justin Davis <jrcd83 at gmail.com>
 
 pkgname='perl-test-requires'
-pkgver='0.06'
+pkgver='0.07'
 pkgrel='1'
 pkgdesc="Checks to see if the module can be loaded"
 arch=('any')
@@ -12,25 +13,29 @@
 depends=('perl')
 url='http://search.cpan.org/dist/Test-Requires'
 source=("http://search.cpan.org/CPAN/authors/id/T/TO/TOKUHIROM/Test-Requires-$pkgver.tar.gz")
-md5sums=('6ce0da3cceadb6420d4c3c5bb69f64db')
+md5sums=('20bdd194fd0cf59eb0cc9349a68dbaa6')
 
 build() {
-  cd "${srcdir}/Test-Requires-$pkgver"
+  cd "$srcdir"/Test-Requires-$pkgver
+
   export PERL_MM_USE_DEFAULT=1 PERL5LIB=""                 \
-    PERL_AUTOINSTALL=--skipdeps                            \
-    PERL_MM_OPT="INSTALLDIRS=vendor"     \
-    PERL_MB_OPT="--installdirs vendor" \
+    PERL_AUTOINSTALL="--skipdeps"                          \
+    PERL_MM_OPT="INSTALLDIRS=vendor" DESTDIR='$pkgdir'     \
+    PERL_MB_OPT="--installdirs vendor --destdir '$pkgdir'" \
     MODULEBUILDRC=/dev/null
-  perl Makefile.PL
-  make
+
+  perl Build.PL
+  perl Build
 }
 
 check() {
-  cd "${srcdir}/Test-Requires-$pkgver"
-  make test
+  cd "$srcdir"/Test-Requires-$pkgver
+
+  perl Build test
 }
 
 package() {
-  cd "${srcdir}/Test-Requires-$pkgver"
-  make DESTDIR="$pkgdir" install
+  cd "$srcdir"/Test-Requires-$pkgver
+
+  perl Build install
 }




More information about the arch-commits mailing list