# $Id: PKGBUILD 65831 2012-02-22 12:52:22Z spupykin $
# This PKGBUILD was generated by cpan4pacman via CPANPLUS::Dist::Pacman
# Maintainer: Daniel J Griffiths <ghost1227@archlinux.us>
# Contributor: FranÃ§ois Charette <firmicus Î±Ï„ gmx Î´Î¿Ï„ net>

pkgname=perl-getopt-argvfile
pkgver=1.11
pkgrel=6
pkgdesc="Take options from files"
arch=('any')
url="http://search.cpan.org/~JSTENZEL/Getopt-ArgvFile"
license=('GPL' 'PerlArtistic')
depends=('perl')
options=('!emptydirs')
source=("http://www.cpan.org/authors/id/J/JS/JSTENZEL/Getopt-ArgvFile-${pkgver}.tar.gz")
md5sums=('42117db2af4a24c062b2da25d4fdf756')

build() {
  cd  Getopt-ArgvFile-${pkgver}

  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor 

  make
}

package() {
  cd  Getopt-ArgvFile-${pkgver}

  make install DESTDIR=${pkgdir}

  find ${pkgdir} -name '.packlist' -delete
  find ${pkgdir} -name '*.pod' -delete
}

