Date: Wednesday, May 3, 2017 @ 20:38:35
  Author: remy
Revision: 295247

upgpkg: perl-capture-tiny 0.46-1

Upstream update, enable tests.

Modified:
  perl-capture-tiny/trunk/PKGBUILD

----------+
 PKGBUILD |   11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2017-05-03 20:38:06 UTC (rev 295246)
+++ PKGBUILD    2017-05-03 20:38:35 UTC (rev 295247)
@@ -4,7 +4,7 @@
 
 pkgname=perl-capture-tiny
 _realname=Capture-Tiny
-pkgver=0.44
+pkgver=0.46
 pkgrel=1
 pkgdesc="Capture STDOUT and STDERR from Perl, XS or external programs"
 arch=(any)
@@ -13,7 +13,7 @@
 url="http://search.cpan.org/dist/Capture-Tiny";
 options=('!emptydirs')
 
source=("http://search.cpan.org/CPAN/authors/id/D/DA/DAGOLDEN/$_realname-$pkgver.tar.gz";)
-md5sums=('f775b76b98ca090643dd45f5141a93a2')
+sha256sums=('5d7a6a830cf7f2b2960bf8b8afaac16a537ede64f3023827acea5bd24ca77015')
 
 build() {
   cd "$srcdir/$_realname-$pkgver"
@@ -21,6 +21,13 @@
   make
 }
 
+check() {
+       cd "$srcdir/$_realname-$pkgver"
+       unset PERL5LIB PERL_MM_OPT PERL_MB_OPT PERL_LOCAL_LIB_ROOT
+       export PERL_MM_USE_DEFAULT=1
+       make test
+}
+
 package() {
   cd "$srcdir/$_realname-$pkgver"
   make DESTDIR="$pkgdir" install

Reply via email to