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

Kevin Piché kevin at archlinux.org
Wed Nov 24 01:34:38 UTC 2010


    Date: Tuesday, November 23, 2010 @ 20:34:37
  Author: kevin
Revision: 100543

upgpkg: perl-error 0.17016-2
Rebuilt for perl 5.12.2 and changed arch to any

Modified:
  perl-error/trunk/PKGBUILD

----------+
 PKGBUILD |   15 +++++++++++----
 1 file changed, 11 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2010-11-24 01:26:58 UTC (rev 100542)
+++ PKGBUILD	2010-11-24 01:34:37 UTC (rev 100543)
@@ -5,7 +5,7 @@
 pkgname=perl-error
 _realname=Error
 pkgver=0.17016
-pkgrel=1
+pkgrel=2
 pkgdesc="Perl/CPAN Error module - Error/exception handling in an OO-ish way"
 url="http://search.cpan.org/dist/${_realname}/"
 arch=(any)
@@ -18,11 +18,18 @@
 build() {
   cd ${srcdir}/${_realname}-${pkgver}
   # install module in vendor directories.
-  perl Makefile.PL INSTALLDIRS=vendor || return 1
-  make  || return 1
-  make install DESTDIR=${pkgdir} || return 1
+  perl Makefile.PL INSTALLDIRS=vendor
+  make 
+  make test
+}
 
+package() {
+  cd ${srcdir}/${_realname}-${pkgver}
+
+  make install DESTDIR=${pkgdir}
+
   # remove perllocal.pod and .packlist
   find ${pkgdir} -name perllocal.pod -delete
   find ${pkgdir} -name .packlist -delete
 }
+




More information about the arch-commits mailing list