1 # Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
2 # Contributor: Caleb Cushing <xenoterracide@gmail.com>
4 pkgname=perl-capture-tiny
8 pkgdesc="Capture STDOUT and STDERR from Perl, XS or external programs"
10 license=(PerlArtistic GPL)
12 url="https://metacpan.org/release/Capture-Tiny"
13 options=('!emptydirs')
14 source=("https://cpan.metacpan.org/authors/id/D/DA/DAGOLDEN/$_realname-$pkgver.tar.gz")
15 sha256sums=('6c23113e87bad393308c90a207013e505f659274736638d8c79bac9c67cc3e19')
19 PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
25 unset PERL5LIB PERL_MM_OPT PERL_MB_OPT PERL_LOCAL_LIB_ROOT
26 export PERL_MM_USE_DEFAULT=1
32 make DESTDIR="$pkgdir" install