PKGBUILDs/community/perl-pod-coverage/PKGBUILD
2009-10-09 21:15:33 -05:00

24 lines
844 B
Bash

# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Francois Charette <firmicus@gmx.net>
pkgname=perl-pod-coverage
pkgver=0.20
pkgrel=1
pkgdesc="Checks if the documentation of a module is comprehensive "
arch=('i686' 'x86_64')
url="http://search.cpan.org/dist/Pod-Coverage"
license=('GPL' 'PerlArtistic')
depends=('perl-devel-symdump>=2.01')
options=('!emptydirs')
source=(http://www.cpan.org/authors/id/R/RC/RCLAMP/Pod-Coverage-$pkgver.tar.gz)
build() {
cd $startdir/src/Pod-Coverage-$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=('292a5b8d3a93597af441d3e6467b8ad6')