From 58d822cdffe49dfe57c992f02547d42ea1e981da Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Thu, 28 Apr 2016 14:15:02 +0200 Subject: perl-ipc-run3 neu --- perl-ipc-run3/PKGBUILD | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 perl-ipc-run3/PKGBUILD (limited to 'perl-ipc-run3') 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 + +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: -- cgit v1.2.3-70-g09d2