# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $ # Maintainer: Sergej Pupykin # Contributor: Francois Charette pkgname=perl-test-mockobject pkgver=1.09 pkgrel=1 pkgdesc="Perl extension for emulating troublesome interfaces " arch=('i686' 'x86_64') url="http://search.cpan.org/dist/Test-MockObject" license=('GPL' 'PerlArtistic') depends=('perl-universal-can>=1.11' 'perl-universal-isa>=0.06') options=('!emptydirs') source=(http://www.cpan.org/authors/id/C/CH/CHROMATIC/Test-MockObject-$pkgver.tar.gz) build() { cd $startdir/src/Test-MockObject-$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=('3c9c2842d40fa8c389563c227804d7d8')