[arch-commits] Commit in perl-async-interrupt/trunk (PKGBUILD)
Felix Yan
fyan at archlinux.org
Thu Feb 12 03:02:34 UTC 2015
Date: Thursday, February 12, 2015 @ 04:02:34
Author: fyan
Revision: 231313
upgpkg: perl-async-interrupt 1.21-1
Modified:
perl-async-interrupt/trunk/PKGBUILD
----------+
PKGBUILD | 27 ++++++++++++---------------
1 file changed, 12 insertions(+), 15 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2015-02-12 02:04:07 UTC (rev 231312)
+++ PKGBUILD 2015-02-12 03:02:34 UTC (rev 231313)
@@ -1,10 +1,11 @@
-# Packager: Justin Davis (juster) <jrcd83 at gmail.com>
# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Justin Davis (juster) <jrcd83 at gmail.com>
pkgname=perl-async-interrupt
-_ver=1.2
-pkgver=1.20
-pkgrel=2
+_ver=1.21
+pkgver=1.21
+pkgrel=1
pkgdesc='allow C/XS libraries to interrupt perl asynchronously'
arch=(i686 x86_64)
license=(PerlArtistic GPL)
@@ -12,32 +13,28 @@
depends=(perl-common-sense)
url=https://metacpan.org/release/Async-Interrupt
source=("http://search.cpan.org/CPAN/authors/id/M/ML/MLEHMANN/Async-Interrupt-$_ver.tar.gz")
-md5sums=('3ec1355c266dfd77245d1c3a1de6fa8d')
-sha512sums=('41091c445247597567c9470fd926318e42d08b1f71e4bee2ed9bad327f66ef679b9bfd89b3e0c66d820a3a82e423eac5a56dca97675a11566e917257f77a2a90')
+sha512sums=('c8376e00f234398dbbe2eb9ddeeed0a083b1218e8f142b59979647c7c91606a7e7a279301cdf0624ffbf8b81a87404f34700429c02efc5ab815c1d49cb2f1bd9')
-build()
-(
+build() {
cd "$srcdir/Async-Interrupt-$_ver"
export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps
unset PERL5LIB PERL_MM_OPT
/usr/bin/perl Makefile.PL
make
-)
+}
-check()
-(
+check() {
cd "$srcdir/Async-Interrupt-$_ver"
export PERL_MM_USE_DEFAULT=1
unset PERL5LIB
make test
-)
+}
-package()
-(
+package() {
cd "$srcdir/Async-Interrupt-$_ver"
make install INSTALLDIRS=vendor DESTDIR="$pkgdir"
find "$pkgdir" -name .packlist -o -name perllocal.pod -delete
-)
+}
# Local Variables:
# mode: shell-script
More information about the arch-commits
mailing list