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

Felix Yan felixonmars at archlinux.org
Thu Apr 19 08:02:27 UTC 2018


    Date: Thursday, April 19, 2018 @ 08:02:26
  Author: felixonmars
Revision: 322196

upgpkg: perl-async-interrupt 1.23-1

Modified:
  perl-async-interrupt/trunk/PKGBUILD

----------+
 PKGBUILD |   24 +++++++-----------------
 1 file changed, 7 insertions(+), 17 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-04-19 07:26:05 UTC (rev 322195)
+++ PKGBUILD	2018-04-19 08:02:26 UTC (rev 322196)
@@ -3,34 +3,30 @@
 # Contributor: Justin Davis (juster) <jrcd83 at gmail.com>
 
 pkgname=perl-async-interrupt
-pkgver=1.22
+pkgver=1.23
 pkgrel=1
 pkgdesc='allow C/XS libraries to interrupt perl asynchronously'
 arch=(x86_64)
 license=(PerlArtistic GPL)
 options=(!emptydirs)
-depends=(perl-common-sense)
+depends=('perl-canary-stability' 'perl-common-sense')
 url=https://metacpan.org/release/Async-Interrupt
 source=("http://search.cpan.org/CPAN/authors/id/M/ML/MLEHMANN/Async-Interrupt-$pkgver.tar.gz")
-sha512sums=('156e123e28113ce6b3ada9788fbcf0ff880065b5bf542ceefc366fc3b2f9e6b1b692cc9cf4751e9e359158633292f6b6e0f8654d1bc7ed04116ae22baba4ff1d')
+sha512sums=('edea9bdfe403999bc6f58115e70f2abb33bf16f34417822115f61700dc8dfbe03bcf01b46ba7381d9a988d3c7d7f83e8201cb6f514420c0abf55eadd38986275')
 
 build() {
-  cd "$srcdir/Async-Interrupt-$pkgver"
-  export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps
-  unset PERL5LIB PERL_MM_OPT
-  /usr/bin/perl Makefile.PL
+  cd Async-Interrupt-$pkgver
+  PERL_MM_USE_DEFAULT=1 perl Makefile.PL
   make
 }
 
 check() {
-  cd "$srcdir/Async-Interrupt-$pkgver"
-  export PERL_MM_USE_DEFAULT=1
-  unset PERL5LIB
+  cd Async-Interrupt-$pkgver
   make test
 }
 
 package() {
-  cd "$srcdir/Async-Interrupt-$pkgver"
+  cd Async-Interrupt-$pkgver
   make install INSTALLDIRS=vendor DESTDIR="$pkgdir"
   find "$pkgdir" -name .packlist -o -name perllocal.pod -delete
 # template start; name=perl-binary-module-dependency; version=1;
@@ -41,9 +37,3 @@
 fi
 # template end;
 }
-
-# Local Variables:
-# mode: shell-script
-# sh-basic-offset: 2
-# End:
-# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list