1 # Contributor: Heikki Mehtänen <heikki at mehtanen dot fi>
3 pkgname=perl-config-options
4 _realname=Config-Options
7 pkgdesc="Module to provide a configuration hash with option to read from file."
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')
17 cd $srcdir/${_realname}-$pkgver
19 # install module in vendor directories
20 perl Makefile.PL INSTALLDIRS=vendor || return 1
22 make DESTDIR=$pkgdir install || return 1
24 # remove perllocal.pod and .packlist
25 find $pkgdir -name perllocal.pod -delete
26 find $pkgdir -name .packlist -delete