summaryrefslogtreecommitdiff
path: root/extra/perl-async-interrupt/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-05-17 00:02:42 +0000
committerroot <root@rshg054.dnsready.net>2012-05-17 00:02:42 +0000
commitf675762300c4ee2717e029975bb3f94312245276 (patch)
tree3cb4f1276985f141129f7da1b3b8fad580df2ca3 /extra/perl-async-interrupt/PKGBUILD
parenta7a5f4160bb345e35c58a565494d4416f601fc17 (diff)
Thu May 17 00:02:42 UTC 2012
Diffstat (limited to 'extra/perl-async-interrupt/PKGBUILD')
-rw-r--r--extra/perl-async-interrupt/PKGBUILD63
1 files changed, 31 insertions, 32 deletions
diff --git a/extra/perl-async-interrupt/PKGBUILD b/extra/perl-async-interrupt/PKGBUILD
index 33fa2afb4..02bbe8fd5 100644
--- a/extra/perl-async-interrupt/PKGBUILD
+++ b/extra/perl-async-interrupt/PKGBUILD
@@ -1,45 +1,44 @@
-# Packager: Justin Davis <jrcd83@gmail.com>
-# $Id: PKGBUILD 146271 2012-01-07 18:45:53Z juster $
+# Packager: Justin Davis (juster) <jrcd83@gmail.com>
+# $Id: PKGBUILD 159110 2012-05-15 18:35:31Z juster $
pkgname=perl-async-interrupt
-pkgver=1.05
+_ver=1.1
+pkgver=1.10
pkgrel=1
-pkgdesc="allow C/XS libraries to interrupt perl asynchronously"
+pkgdesc='allow C/XS libraries to interrupt perl asynchronously'
arch=(i686 x86_64)
license=(PerlArtistic GPL)
options=(!emptydirs)
-depends=('perl-common-sense')
+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")
-md5sums=(48efb6982dab8d33241061dba65776a8)
-sha512sums=(8b7c74f03b36e1d0ab40124a36c073daa06ea68d6087d809f5c9d60ca07a14505d67599f24d73f1ec5eb13259a732b0c67a07a2fff47f35e04c6b8a50c526d91)
-_distdir="${srcdir}/Async-Interrupt-${pkgver}"
+source=("http://search.cpan.org/CPAN/authors/id/M/ML/MLEHMANN/Async-Interrupt-$_ver.tar.gz")
+md5sums=(18f19b1537ecf5d6195a6a243110e64b)
+sha512sums=(e8e62efc053c8103f509c08a19bfa0fefbfe760ca4e1e4670187de4ed4fbdec2e5a9a19bba1696cd2b721ad7fa6d4b723c24e342118b69dc8b7b1597f5e1385e)
+_dir="$srcdir/Async-Interrupt-$_ver"
-build() {
- ( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" \
- PERL_AUTOINSTALL=--skipdeps \
- PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='$pkgdir'" \
- PERL_MB_OPT="--installdirs vendor --destdir '$pkgdir'" \
- MODULEBUILDRC=/dev/null
+build()
+(
+ cd "$_dir"
+ export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps
+ unset PERL5LIB PERL_MM_OPT
+ /usr/bin/perl Makefile.PL
+ make
+)
- cd "$_distdir"
- /usr/bin/perl Makefile.PL
- make
- )
-}
+check()
+(
+ cd "$_dir"
+ export PERL_MM_USE_DEFAULT=1
+ unset PERL5LIB
+ make test
+)
-check() {
- ( export PERL_MM_USE_DEFAULT=1 PERL5LIB=""
- cd "$_distdir"
- make test
- )
-}
-
-package() {
- cd "$_distdir"
- make DESTDIR="$pkgdir" install
- find "$pkgdir" -name .packlist -o -name perllocal.pod -delete
-}
+package()
+(
+ cd "$_dir"
+ make install INSTALLDIRS=vendor DESTDIR="$pkgdir"
+ find "$pkgdir" -name .packlist -o -name perllocal.pod -delete
+)
# Local Variables:
# mode: shell-script