1 # Maintainer: Sergej Pupykin <arch+pub@sergej.pp.ru>
2 # Contributor: John D Jones III AKA jnbek <jnbek1972 -_AT_- g m a i l -_Dot_- com>
3 # Generator : CPANPLUS::Dist::Arch 1.32
8 pkgdesc="Acmeist PEG Parser Framework"
10 license=('PerlArtistic' 'GPL')
11 options=('!emptydirs')
12 depends=('perl-yaml-libyaml' 'perl-file-sharedir-install' 'perl-yaml-pp')
14 url='https://metacpan.org/release/Pegex'
15 source=("https://search.cpan.org/CPAN/authors/id/I/IN/INGY/Pegex-$pkgver.tar.gz")
16 sha256sums=('4dc8d335de80b25247cdb3f946f0d10d9ba0b3c34b0ed7d00316fd068fd05edc')
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
24 cd "$srcdir/Pegex-$pkgver"
25 /usr/bin/perl Makefile.PL
31 cd "$srcdir/Pegex-$pkgver"
32 ( export PERL_MM_USE_DEFAULT=1 PERL5LIB=""
38 cd "$srcdir/Pegex-$pkgver"
40 find "$pkgdir" -name .packlist -o -name perllocal.pod -delete