#Packager: Frédéric Galusik pkgname=perl-test-pod pkgver=1.44 pkgrel=2fg #arch=noarch source=(http://search.cpan.org/CPAN/authors/id/D/DW/DWHEELER/Test-Pod-$pkgver.tar.gz) sourcetemplate=http://people.salixos.org/fredg/packages/$pkgname/$pkgver/ docs=("readme" "manifest" "Changes") url=http://search.cpan.org/dist/Test-Pod/ slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "perl-test-pod (perl Test-Pod module)" "Check for POD errors in files" ) build() { cd $startdir/src/Test-Pod-$pkgver perl Build.PL installdirs=vendor || exit 1 ./Build || exit 1 ./Build install destdir=$startdir/pkg || exit 1 # Remove perllocal.pod and .packlist if present in the package ( for i in perllocal.pod .packlist; do find $startdir/pkg -name "$i" -exec rm -rf {} \; done ) || exit 1 }