PKGBUILDs/community/perl-test-output/PKGBUILD
2012-06-16 15:02:44 -04:00

40 lines
1 KiB
Bash

# $Id: PKGBUILD 62156 2012-01-16 22:25:14Z seblu $
# Maintainer: Sébastien Luttringer <seblu@aur.archlinux.org>
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
# - removing extraneous space after perl-test-pod depends line, since it apparently
# takes a goddamn inquisition to get upstream maintainers to fix shit like this.
pkgname=perl-test-output
pkgver=1.01
pkgrel=1.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')
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=('bea1fe88e8725a5b3f7b66e69fc83dd2')
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 ft=sh et: