# This PKGBUILD was generated by cpan4pacman via CPANPLUS::Dist::Pacman # Maintainer: Daniel J Griffiths # Contributor: François Charette pkgname=perl-getopt-argvfile pkgver=1.11 pkgrel=10 pkgdesc="Take options from files" arch=('any') url="https://search.cpan.org/~JSTENZEL/Getopt-ArgvFile" license=('GPL' 'PerlArtistic') depends=('perl') options=('!emptydirs') source=("https://www.cpan.org/authors/id/J/JS/JSTENZEL/Getopt-ArgvFile-${pkgver}.tar.gz") sha256sums=('3709aa513ce6fd71d1a55a02e34d2f090017d5350a9bd447005653c9b0835b22') 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 }