# $Id: PKGBUILD 90583 2013-05-13 09:56:02Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Francois Charette <firmicus@gmx.net>

pkgname=perl-pod-coverage
pkgver=0.23
pkgrel=1
pkgdesc="Checks if the documentation of a module is comprehensive "
arch=('any')
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)
md5sums=('12229e553ee7887680ee3db11da5ee52')

build() {
  cd  $srcdir/Pod-Coverage-$pkgver
  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
  make
}

package() {
  cd  $srcdir/Pod-Coverage-$pkgver
  make install DESTDIR=$pkgdir
  find $pkgdir -name '.packlist' -delete
  find $pkgdir -name '*.pod' -delete
}
