summaryrefslogtreecommitdiff
path: root/community/perl-getopt-argvfile/PKGBUILD
blob: b52c31ae3e7fed154aec614b9b1d9f9f7e8b9c77 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# 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=4
pkgdesc="Take options from files"
arch=('i686' 'x86_64')
url="http://search.cpan.org/~JSTENZEL/Getopt-ArgvFile"
license=('GPL' 'PerlArtistic')
depends=('perl>=5.10.0')
options=('!emptydirs')
source=(http://www.cpan.org/authors/id/J/JS/JSTENZEL/Getopt-ArgvFile-$pkgver.tar.gz) 
md5sums=('42117db2af4a24c062b2da25d4fdf756')

build() {
  cd  $startdir/src/Getopt-ArgvFile-$pkgver
  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor 
  make
  make install DESTDIR=$startdir/pkg
  find $startdir/pkg -name '.packlist' -delete
  find $startdir/pkg -name '*.pod' -delete
}