summaryrefslogtreecommitdiff
path: root/testing/perl-async-interrupt/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'testing/perl-async-interrupt/PKGBUILD')
-rw-r--r--testing/perl-async-interrupt/PKGBUILD47
1 files changed, 47 insertions, 0 deletions
diff --git a/testing/perl-async-interrupt/PKGBUILD b/testing/perl-async-interrupt/PKGBUILD
new file mode 100644
index 000000000..073e0083f
--- /dev/null
+++ b/testing/perl-async-interrupt/PKGBUILD
@@ -0,0 +1,47 @@
+# Packager: Justin Davis (juster) <jrcd83@gmail.com>
+# $Id: PKGBUILD 159863 2012-05-27 07:42:49Z bluewind $
+
+pkgname=perl-async-interrupt
+_ver=1.1
+pkgver=1.10
+pkgrel=2
+pkgdesc='allow C/XS libraries to interrupt perl asynchronously'
+arch=(i686 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-$_ver.tar.gz")
+md5sums=(18f19b1537ecf5d6195a6a243110e64b)
+sha512sums=(e8e62efc053c8103f509c08a19bfa0fefbfe760ca4e1e4670187de4ed4fbdec2e5a9a19bba1696cd2b721ad7fa6d4b723c24e342118b69dc8b7b1597f5e1385e)
+_dir="$srcdir/Async-Interrupt-$_ver"
+
+build()
+(
+ cd "$_dir"
+ export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps
+ unset PERL5LIB PERL_MM_OPT
+ /usr/bin/perl Makefile.PL
+ make
+)
+
+check()
+(
+ cd "$_dir"
+ export PERL_MM_USE_DEFAULT=1
+ unset PERL5LIB
+ make test
+)
+
+package()
+(
+ cd "$_dir"
+ make install INSTALLDIRS=vendor DESTDIR="$pkgdir"
+ find "$pkgdir" -name .packlist -o -name perllocal.pod -delete
+)
+
+# Local Variables:
+# mode: shell-script
+# sh-basic-offset: 2
+# End:
+# vim:set ts=2 sw=2 et: