# $Id: PKGBUILD 103347 2014-01-03 19:13:11Z seblu $
# Maintainer: Sébastien Luttringer

pkgname=perl-test-output
pkgver=1.03
pkgrel=1
pkgdesc='Utilities to test STDOUT and STDERR messages'
arch=('any')
license=('GPL' 'PerlArtistic')
depends=('perl-sub-exporter'
  'perl-test-tester'
  'perl-test-pod'
  'perl-test-pod-coverage'
  'perl-capture-tiny')
url='http://search.cpan.org/dist/Test-Output'
options=('!emptydirs')
source=("http://search.cpan.org/CPAN/authors/id/B/BD/BDFOY/Test-Output-$pkgver.tar.gz")
md5sums=('903485edb382f5a18a5029978d1febf6')

build() {
  cd Test-Output-$pkgver
  USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
  make
}

check() {
  cd Test-Output-$pkgver
  make test
}

package() {
  cd Test-Output-$pkgver
  make install DESTDIR="$pkgdir/"
}

# vim:set ts=2 sw=2 et:
