# Contributor: Stuart Cardall # Maintainer: Stuart Cardall pkgname=perl-io-tee pkgver=0.66 _realname=IO-Tee-$pkgver pkgrel=2 pkgdesc="Multiplex output to multiple output handles" url="https://metacpan.org/pod/IO::Tee" arch="noarch" license="GPL-1.0-or-later OR Artistic-1.0-Perl" depends="perl" subpackages="$pkgname-doc" source="$pkgname-$pkgver.tar.gz::https://cpan.metacpan.org/authors/id/N/NE/NEILB/$_realname.tar.gz" builddir="$srcdir"/$_realname build() { PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor make } check() { make test } package() { make DESTDIR="$pkgdir" install find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete } sha512sums="0f651b043e8a503e5b5933fabbdc00df139bb16b5f4e3f8e135123c53ede78abd2d3df9e824c85e1443f883fc1026fb6ff97a8c511d46076630b890253567c75 perl-io-tee-0.66.tar.gz"