From 8a25c016185d44632e65ecf2d59428803e6781a8 Mon Sep 17 00:00:00 2001 From: Britney Fransen Date: Wed, 30 May 2018 21:00:12 +0000 Subject: perl-io-captureoutput: initial --- .../perl_modules/perl-io-captureoutput/PKGBUILD | 33 ++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 abs/core/perl_modules/perl-io-captureoutput/PKGBUILD 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 +# Contributor: Simon Perry +# 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" +} -- cgit v0.12