PKGBUILDs/community/perl-test-base/PKGBUILD
2009-10-09 21:15:33 -05:00

22 lines
693 B
Bash

# Contributor: Francois Charette <firmicus@gmx.net>
pkgname=perl-test-base
pkgver=0.58
pkgrel=1
pkgdesc="A Data Driven Testing Framework"
arch=('i686' 'x86_64')
url="http://search.cpan.org/dist/Test-Base"
license=('GPL' 'PerlArtistic')
depends=('perl-spiffy>=0.30')
options=('!emptydirs')
source=(http://www.cpan.org/authors/id/I/IN/INGY/Test-Base-$pkgver.tar.gz)
build() {
cd $startdir/src/Test-Base-$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=('a3999c99b32e67c1759ddcb8c2d5a7f6')