# $Id: PKGBUILD 46995 2009-07-22 19:28:51Z francois $ # Maintainer: Kevin # Contributor: Firmicus pkgname=perl-test-pod _realname=Test-Pod pkgver=1.40 pkgrel=1 pkgdesc="Check for POD errors in files" arch=(any) license=('GPL' 'PerlArtistic') url="http://search.cpan.org/dist/${_realname}/" depends=('perl>=5.10.0') options=(!emptydirs) source=(http://search.cpan.org/CPAN/authors/id/P/PE/PETDANCE/${_realname}-${pkgver}.tar.gz) md5sums=('de975155ed1afb430b70456e2db00b29') build() { cd ${srcdir}/${_realname}-${pkgver} # install module in vendor directories. PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1 make || return 1 make install DESTDIR=${pkgdir} || return 1 # remove perllocal.pod and .packlist find ${pkgdir} -name perllocal.pod -delete find ${pkgdir} -name .packlist -delete } # vim: ts=2 sw=2 et ft=sh