1 # Maintainer: Florian Pritz <bluewind@xinu.at>
2 # Contributor: Christos Nouskas <nous@archlinux.us>
3 # Generator : CPANPLUS::Dist::Arch 1.25
5 pkgname='perl-config-grammar'
8 pkgdesc="A grammar-based, user-friendly config parser"
10 license=('PerlArtistic' 'GPL')
11 options=('!emptydirs')
14 url='https://search.cpan.org/dist/Config-Grammar'
15 source=("https://search.cpan.org/CPAN/authors/id/D/DS/DSCHWEI/Config-Grammar-$pkgver.tar.gz")
16 sha256sums=('a8b3a3a2c9c8c43b92dc401bf2709d6514f15b467fd4f72c48d356335771d6e3')
19 ( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" \
20 PERL_AUTOINSTALL=--skipdeps \
21 PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='"$pkgdir"'" \
22 PERL_MB_OPT="--installdirs vendor --destdir '"$pkgdir"'" \
23 MODULEBUILDRC=/dev/null
25 cd "$srcdir/Config-Grammar-$pkgver"
26 /usr/bin/perl Makefile.PL
32 cd "$srcdir/Config-Grammar-$pkgver"
33 ( export PERL_MM_USE_DEFAULT=1 PERL5LIB=""
39 cd "$srcdir/Config-Grammar-$pkgver"
41 find "$pkgdir" -name .packlist -o -name perllocal.pod -delete