0.3.16-1
[arch-packages.git] / perl-ipc-run3 / trunk / PKGBUILD
blobf7a3656de2e9384bafd24766f651e89d3ea1d859
1 # Maintainer: Rémy Oudompheng <remy@archlinux.org>
2 # Contributor: John D Jones III <jnbek1972 -_AT_- g m a i l -_Dot_- com>
3 # Generator  : CPANPLUS::Dist::Arch 1.27
5 pkgname='perl-ipc-run3'
6 _dist=IPC-Run3
7 pkgver=0.048
8 pkgrel=10
9 pkgdesc="run a subprocess with input/ouput redirection"
10 arch=('any')
11 license=('PerlArtistic' 'GPL')
12 options=('!emptydirs')
13 depends=('perl')
14 makedepends=()
15 url='https://search.cpan.org/dist/IPC-Run3'
16 source=("https://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/${_dist}-${pkgver}.tar.gz")
17 md5sums=('5a8cec571c51a118b265cf6e24e55761')
18 sha512sums=('50432850d8dccd2e59aa6684d34f3e3242fd7df3eb4d9a5eb02dae389aa46b5fd68cc54114a157c3fe99956e68e74d575ab3db5009b7bf7d5c325f1f109b1262')
20 build() {
21     cd "${srcdir}/${_dist}-${pkgver}"
22     unset PERL5LIB PERL_MM_OPT PERL_MB_OPT PERL_LOCAL_LIB_ROOT
23     export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps
24     perl Makefile.PL
25     make
28 check() {
29     cd "${srcdir}/${_dist}-${pkgver}"
30     unset PERL5LIB PERL_MM_OPT PERL_MB_OPT PERL_LOCAL_LIB_ROOT
31     export PERL_MM_USE_DEFAULT=1
32     make test
35 package() {
36     cd "${srcdir}/${_dist}-${pkgver}"
37     unset PERL5LIB PERL_MM_OPT PERL_MB_OPT PERL_LOCAL_LIB_ROOT
38     make install INSTALLDIRS=vendor DESTDIR="$pkgdir"