core/perl-test-pod/PKGBUILD
2012-05-10 22:13:44 +00:00

26 lines
685 B
Bash

# Platform Packages for Chakra, part of chakra-project.org
pkgname=perl-test-pod
_realname=Test-Pod
pkgver=1.45
pkgrel=3
pkgdesc="Check for POD errors in files"
arch=(any)
license=('GPL' 'PerlArtistic')
url="http://search.cpan.org/dist/${_realname}/"
depends=('perl')
options=(!emptydirs)
source=(http://search.cpan.org/CPAN/authors/id/D/DW/DWHEELER/${_realname}-${pkgver}.tar.gz)
md5sums=('089c8f272931df82f6c4d11a74f04628')
build() {
cd ${srcdir}/${_realname}-${pkgver}
perl Build.PL installdirs=vendor || return 1
./Build || return 1
./Build install destdir=$pkgdir || return 1
find $startdir/pkg -name '.packlist' -delete
find $startdir/pkg -name '*.pod' -delete
}