# $Id: PKGBUILD 61344 2011-12-28 15:16:05Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Francois Charette <firmicus@gmx.net>

pkgname=perl-test-tester
pkgver=0.108
pkgrel=1
pkgdesc="Ease testing test modules built with Test::Builder"
arch=('any')
url="http://search.cpan.org/dist/Test-Tester"
license=('GPL' 'PerlArtistic')
depends=('perl')
options=('!emptydirs')
source=(http://www.cpan.org/authors/id/F/FD/FDALY/Test-Tester-$pkgver.tar.gz)
md5sums=('939d4fb9ad04b8b5a746cdd09040ea0b')

build() {
  cd  $srcdir/Test-Tester-$pkgver
  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
  make
  make install DESTDIR=$pkgdir
  find $pkgdir -name '.packlist' -delete
  find $pkgdir -name '*.pod' -delete
}
