1 # Maintainer: Jan-Erik Rediger <badboy at archlinux dot us>
2 # Contributor: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
3 # Contributor: Francois Charette <firmicus@gmx.net>
9 pkgdesc="IPC::Run - system() and background procs w/ piping, redirs, ptys"
11 url="http://search.cpan.org/dist/${_pkgname}"
12 license=('GPL' 'PerlArtistic')
13 # IPC::Run depends on IO::Pty which is provided by perl-io-tty
14 depends=('perl>=5.10.0' 'perl-io-tty')
15 options=('!emptydirs')
16 source=("http://search.cpan.org/CPAN/authors/id/T/TO/TODDR/IPC-Run-0.90.tar.gz")
17 sha1sums=('dbacd5fb7e3bfa507e72d01532a665cdd8c3cee4')
20 cd $srcdir/${_pkgname}-$pkgver
22 PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
25 make install DESTDIR=$pkgdir || return 1
27 find $pkgdir -name perllocal.pod -delete
28 find $pkgdir -name .packlist -delete