updated on Wed Jan 18 08:00:29 UTC 2012
[aur-mirror.git] / perl-config-options / PKGBUILD
blob07a61943fa2c6af2e6c24f5b614c1c76ae33d88e
1 # Contributor: Heikki Mehtänen <heikki at mehtanen dot fi>
3 pkgname=perl-config-options
4 _realname=Config-Options
5 pkgver=0.08
6 pkgrel=1
7 pkgdesc="Module to provide a configuration hash with option to read from file."
8 arch=('i686' 'x86_64')
9 url="http://search.cpan.org/dist/${_realname}/"
10 license=('PerlArtistic')
11 depends=('perl>=5.10.0')
12 options=('!emptydirs')
13 source=(http://search.cpan.org/CPAN/authors/id/E/EA/EALLENIII/${_realname}-$pkgver.tar.gz)
14 md5sums=('8167ac68027279959ec8152d3fd44bd3')
16 build() {
17         cd $srcdir/${_realname}-$pkgver
19         # install module in vendor directories
20         perl Makefile.PL INSTALLDIRS=vendor || return 1
21         make || return 1
22         make DESTDIR=$pkgdir install || return 1
23         
24         # remove perllocal.pod and .packlist
25         find $pkgdir -name perllocal.pod -delete
26         find $pkgdir -name .packlist -delete