summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2016-04-28 14:15:02 +0200
committerErich Eckner <git@eckner.net>2016-04-29 10:00:39 +0200
commit58d822cdffe49dfe57c992f02547d42ea1e981da (patch)
tree3452e7fca2f869956d82777b5a741d952d624839
parent0b01027a823944a08ff5ef58aa35c5771cd72bf7 (diff)
downloadarchlinuxewe-58d822cdffe49dfe57c992f02547d42ea1e981da.tar.xz
perl-ipc-run3 neu
-rw-r--r--perl-ipc-run3/PKGBUILD50
1 files changed, 50 insertions, 0 deletions
diff --git a/perl-ipc-run3/PKGBUILD b/perl-ipc-run3/PKGBUILD
new file mode 100644
index 000000000..b1657d193
--- /dev/null
+++ b/perl-ipc-run3/PKGBUILD
@@ -0,0 +1,50 @@
+# Maintainer: Erich Eckner <arch at eckner dot net>
+
+pkgname='perl-ipc-run3'
+pkgver='0.048'
+pkgrel='1'
+pkgdesc='run a subprocess with input/ouput redirection'
+arch=('any')
+license=('PerlArtistic' 'GPL')
+options=('!emptydirs')
+depends=(
+ 'perl-time-hires'
+)
+checkdepends=()
+url='https://metacpan.org/release/IPC-Run3'
+_distdir="IPC-Run3-${pkgver}"
+source=("https://cpan.metacpan.org/authors/id/R/RJ/RJBS/${_distdir}.tar.gz")
+sha512sums=('50432850d8dccd2e59aa6684d34f3e3242fd7df3eb4d9a5eb02dae389aa46b5fd68cc54114a157c3fe99956e68e74d575ab3db5009b7bf7d5c325f1f109b1262')
+
+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 "$srcdir/$_distdir"
+ perl Makefile.PL
+ make
+ )
+}
+
+check() {
+ cd "$srcdir/$_distdir"
+ ( export PERL_MM_USE_DEFAULT=1 PERL5LIB=""
+ make test
+ )
+}
+
+package() {
+ cd "$srcdir/$_distdir"
+ make 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: