[arch-commits] Commit in perl-async-interrupt/repos/extra-x86_64 (PKGBUILD PKGBUILD)

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


    Date: Thursday, April 19, 2018 @ 08:02:49
  Author: felixonmars
Revision: 322197

archrelease: copy trunk to extra-x86_64

Added:
  perl-async-interrupt/repos/extra-x86_64/PKGBUILD
    (from rev 322196, perl-async-interrupt/trunk/PKGBUILD)
Deleted:
  perl-async-interrupt/repos/extra-x86_64/PKGBUILD

----------+
 PKGBUILD |   88 +++++++++++++++++++++++++++----------------------------------
 1 file changed, 39 insertions(+), 49 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-04-19 08:02:26 UTC (rev 322196)
+++ PKGBUILD	2018-04-19 08:02:49 UTC (rev 322197)
@@ -1,49 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Justin Davis (juster) <jrcd83 at gmail.com>
-
-pkgname=perl-async-interrupt
-pkgver=1.22
-pkgrel=1
-pkgdesc='allow C/XS libraries to interrupt perl asynchronously'
-arch=(x86_64)
-license=(PerlArtistic GPL)
-options=(!emptydirs)
-depends=(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')
-
-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
-  make
-}
-
-check() {
-  cd "$srcdir/Async-Interrupt-$pkgver"
-  export PERL_MM_USE_DEFAULT=1
-  unset PERL5LIB
-  make test
-}
-
-package() {
-  cd "$srcdir/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;
-if [[ $(find "$pkgdir/usr/lib/perl5/" -name "*.so") ]]; then
-	_perlver_min=$(perl -e '$v = $^V->{version}; print $v->[0].".".($v->[1]);')
-	_perlver_max=$(perl -e '$v = $^V->{version}; print $v->[0].".".($v->[1]+1);')
-	depends+=("perl>=$_perlver_min" "perl<$_perlver_max")
-fi
-# template end;
-}
-
-# Local Variables:
-# mode: shell-script
-# sh-basic-offset: 2
-# End:
-# vim:set ts=2 sw=2 et:

Copied: perl-async-interrupt/repos/extra-x86_64/PKGBUILD (from rev 322196, perl-async-interrupt/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-04-19 08:02:49 UTC (rev 322197)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Justin Davis (juster) <jrcd83 at gmail.com>
+
+pkgname=perl-async-interrupt
+pkgver=1.23
+pkgrel=1
+pkgdesc='allow C/XS libraries to interrupt perl asynchronously'
+arch=(x86_64)
+license=(PerlArtistic GPL)
+options=(!emptydirs)
+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=('edea9bdfe403999bc6f58115e70f2abb33bf16f34417822115f61700dc8dfbe03bcf01b46ba7381d9a988d3c7d7f83e8201cb6f514420c0abf55eadd38986275')
+
+build() {
+  cd Async-Interrupt-$pkgver
+  PERL_MM_USE_DEFAULT=1 perl Makefile.PL
+  make
+}
+
+check() {
+  cd Async-Interrupt-$pkgver
+  make test
+}
+
+package() {
+  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;
+if [[ $(find "$pkgdir/usr/lib/perl5/" -name "*.so") ]]; then
+	_perlver_min=$(perl -e '$v = $^V->{version}; print $v->[0].".".($v->[1]);')
+	_perlver_max=$(perl -e '$v = $^V->{version}; print $v->[0].".".($v->[1]+1);')
+	depends+=("perl>=$_perlver_min" "perl<$_perlver_max")
+fi
+# template end;
+}



More information about the arch-commits mailing list