[arch-commits] Commit in perl-async-interrupt/repos (2 files)

Justin Davis juster at archlinux.org
Sat Jan 7 18:42:17 UTC 2012


    Date: Saturday, January 7, 2012 @ 13:42:16
  Author: juster
Revision: 146267

archrelease: copy trunk to extra-x86_64

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

----------+
 PKGBUILD |   48 ++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 48 insertions(+)

Copied: perl-async-interrupt/repos/extra-x86_64/PKGBUILD (from rev 146266, perl-async-interrupt/trunk/PKGBUILD)
===================================================================
--- extra-x86_64/PKGBUILD	                        (rev 0)
+++ extra-x86_64/PKGBUILD	2012-01-07 18:42:16 UTC (rev 146267)
@@ -0,0 +1,48 @@
+# Packager: Justin Davis <jrcd83 at gmail.com>
+# $Id$
+
+pkgname=perl-async-interrupt
+pkgver=1.05
+pkgrel=1
+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-${pkgver}.tar.gz")
+md5sums=(48efb6982dab8d33241061dba65776a8)
+sha512sums=(8b7c74f03b36e1d0ab40124a36c073daa06ea68d6087d809f5c9d60ca07a14505d67599f24d73f1ec5eb13259a732b0c67a07a2fff47f35e04c6b8a50c526d91)
+_distdir="${srcdir}/Async-Interrupt-${pkgver}"
+
+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
+
+    cd "$_distdir"
+    /usr/bin/perl Makefile.PL
+    make
+  )
+}
+
+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
+}
+
+# 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