# This PKGBUILD was autocreated.  See http://xtermin.us/archperl/ for details
# Maintainer: Charles Mauch <cmauch@gmail.com>

pkgname=perl-io-tee
pkgver=0.64
pkgrel=2
pkgdesc="Perl/CPAN Module IO::Tee : Multiplex output to multiple handles"
arch=("i686" "x86_64")
url="http://search.cpan.org/dist/IO-Tee"
license=("GPL" "Artistic")
source=("http://www.cpan.org/authors/id/K/KE/KENSHAN/IO-Tee-0.64.tar.gz")
md5sums=('97d91e38fcadc1f01d8030a8d4f30701')

build() {
  cd $startdir/src/IO-Tee-0.64
  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1 
  make || return 1
  make install DESTDIR=$startdir/pkg || return 1
  find $startdir/pkg -name '.packlist' -delete
  find $startdir/pkg -name '*.pod' -delete
}