# $Id: PKGBUILD 114299 2014-07-01 14:23:22Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# This PKGBUILD was generated by cpan4pacman via CPANPLUS::Dist::Pacman
# Contributor: Francois Charette <firmicus@gmx.net>

pkgname=perl-test-manifest
pkgver=1.23
pkgrel=3
pkgdesc="configure which test files to run"
arch=('any')
url="http://search.cpan.org/dist/Test-Manifest"
license=('GPL' 'PerlArtistic')
depends=('perl')
options=('!emptydirs')
source=(http://www.cpan.org/authors/id/B/BD/BDFOY/Test-Manifest-$pkgver.tar.gz)
md5sums=('81c8744987b67d35af05a74a3c7f1742')

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

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