diff options
author | Britney Fransen <brfransen@gmail.com> | 2018-05-30 21:00:12 (GMT) |
---|---|---|
committer | Britney Fransen <brfransen@gmail.com> | 2018-05-30 21:00:12 (GMT) |
commit | 8a25c016185d44632e65ecf2d59428803e6781a8 (patch) | |
tree | 02260fa4688724b64cb718bb0a61333d23d569a8 /abs/core | |
parent | 843700280c70740e0414bf322592e9b18e30e5b3 (diff) | |
download | linhes_pkgbuild-8a25c016185d44632e65ecf2d59428803e6781a8.zip linhes_pkgbuild-8a25c016185d44632e65ecf2d59428803e6781a8.tar.gz linhes_pkgbuild-8a25c016185d44632e65ecf2d59428803e6781a8.tar.bz2 |
perl-io-captureoutput: initial
Diffstat (limited to 'abs/core')
-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" +} |