diff options
Diffstat (limited to 'abs/core/perl_modules')
-rw-r--r-- | abs/core/perl_modules/perl-io-captureoutput/PKGBUILD | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/abs/core/perl_modules/perl-io-captureoutput/PKGBUILD b/abs/core/perl_modules/perl-io-captureoutput/PKGBUILD new file mode 100644 index 0000000..b984df5 --- /dev/null +++ b/abs/core/perl_modules/perl-io-captureoutput/PKGBUILD @@ -0,0 +1,33 @@ +# $Id$ +# Maintainer: Felix Yan <felixonmars@archlinux.org> +# Contributor: Simon Perry <aur [at] sanxion [dot] net> +# Contributor: Anonymous +# Generator : CPANPLUS::Dist::Arch 1.29 + +pkgname=perl-io-captureoutput +pkgver=1.1104 +pkgrel=3 +pkgdesc="capture STDOUT and STDERR from Perl code, subprocesses or XS" +arch=('any') +license=('PerlArtistic' 'GPL') +options=('!emptydirs') +depends=('perl') +url="http://search.cpan.org/dist/IO-CaptureOutput" +source=("http://search.cpan.org/CPAN/authors/id/D/DA/DAGOLDEN/IO-CaptureOutput-$pkgver.tar.gz") +sha512sums=('5694635c91e4dd11279c33fb9d58e2eb27014f4ea0a976e62c23505524e3d37264aab6d6b1cfe5d925e123d6aa240e574dbc4f489c6c1007da09631368af94f5') + +build() { + cd IO-CaptureOutput-$pkgver + perl Makefile.PL INSTALLDIRS=vendor + make +} + +check() { + cd IO-CaptureOutput-$pkgver + make test +} + +package() { + cd IO-CaptureOutput-$pkgver + make install DESTDIR="$pkgdir" +} |