Date: Thursday, July 14, 2011 @ 11:23:15
  Author: remy
Revision: 131758

upgpkg: perl-log-log4perl 1.33-1
Version bump.

Modified:
  perl-log-log4perl/trunk/PKGBUILD

----------+
 PKGBUILD |   21 ++++++++++++++-------
 1 file changed, 14 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2011-07-14 15:15:18 UTC (rev 131757)
+++ PKGBUILD    2011-07-14 15:23:15 UTC (rev 131758)
@@ -2,7 +2,7 @@
 
 pkgname=perl-log-log4perl
 _cpanname=Log-Log4perl
-pkgver=1.29
+pkgver=1.33
 pkgrel=1
 pkgdesc="Log4j implementation in Perl"
 arch=('any')
@@ -11,13 +11,20 @@
 depends=('perl')
 options=('!emptydirs')
 
source=(http://www.cpan.org/authors/id/M/MS/MSCHILLI/${_cpanname}-${pkgver}.tar.gz)
+md5sums=('80478bfcc06890718375c126c3d84206')
 
 build() {
   cd $srcdir/${_cpanname}-${pkgver}
-  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
-  make || return 1
-  make install DESTDIR=$pkgdir || return 1
-  find $pkgdir -name '.packlist' -delete
-  find $pkgdir -name '*.pod' -delete
+  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+  make
 }
-md5sums=('40f0d465d1d0b3f1c25bbd0936ffe001')
+
+check() {
+  cd $srcdir/${_cpanname}-${pkgver}
+  make test
+}
+
+package() {
+  cd $srcdir/${_cpanname}-${pkgver}
+  make install DESTDIR=$pkgdir
+}

Reply via email to