1 # CPAN Name : Config-INI-MVP
2 # Contributor: Caleb Cushing <xenoterracide@gmail.com>
3 # Generator : CPANPLUS::Dist::Arch 1.02
4 # Template @ http://github.com/xenoterracide/AURpan/blob/master/perl-config-ini-mvp/PKGBUILD.tt
5 # File bugs @ http://github.com/xenoterracide/AURpan/issues
7 pkgname='perl-config-ini-mvp'
10 pkgdesc="multi-value capable .ini file reader (for plugins)"
12 url='http://search.cpan.org/dist/Config-INI-MVP'
13 license=('PerlArtistic' 'GPL')
14 depends=('perl' 'perl-config-ini' 'perl-config-mvp>=0.092060' 'perl-moose>=0.65')
17 options=('!emptydirs')
19 source=('http://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/Config-INI-MVP-0.024.tar.gz')
20 md5sums=('887b2664aa36680cdde73095e67e12b4')
23 DIST_DIR="${srcdir}/Config-INI-MVP-0.024"
24 export PERL_AUTOINSTALL=--skipdeps PERL_MM_USE_DEFAULT=1
27 perl Makefile.PL INSTALLDIRS=vendor &&
30 make DESTDIR="$pkgdir" install;
33 find "$pkgdir" -name .packlist -o -name perllocal.pod -delete
35 # remove conflicting files per bug https://rt.cpan.org/Public/Bug/Display.html?id=57844
36 # please use perl-config-mvp-reader-ini for these files instead
37 if [ -d "$pkgdir/usr/share/perl5/vendor_perl/Config/MVP/Reader/" ]
39 rm "$pkgdir/usr/share/perl5/vendor_perl/Config/MVP/Reader/INI.pm"
40 rm "$pkgdir/usr/share/man/man3/Config::MVP::Reader::INI.3pm"