PKGBUILDs/community/perl-test-tester/PKGBUILD

23 lines
708 B
Bash
Raw Normal View History

2009-10-10 02:15:33 +00:00
# Contributor: Francois Charette <firmicus@gmx.net>
pkgname=perl-test-tester
pkgver=0.107
pkgrel=1
pkgdesc="Ease testing test modules built with Test::Builder"
arch=('i686' 'x86_64')
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)
build() {
cd $startdir/src/Test-Tester-$pkgver
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
}
md5sums=('998a8abe241992faaa3e90f330800840')