Date: Sunday, June 21, 2020 @ 10:55:11 Author: felixonmars Revision: 649127
archrelease: copy trunk to community-staging-any Added: perl-pegex/repos/community-staging-any/ perl-pegex/repos/community-staging-any/PKGBUILD (from rev 649126, perl-pegex/trunk/PKGBUILD) ----------+ PKGBUILD | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) Copied: perl-pegex/repos/community-staging-any/PKGBUILD (from rev 649126, perl-pegex/trunk/PKGBUILD) =================================================================== --- community-staging-any/PKGBUILD (rev 0) +++ community-staging-any/PKGBUILD 2020-06-21 10:55:11 UTC (rev 649127) @@ -0,0 +1,41 @@ +# Maintainer: Sergej Pupykin <arch+...@sergej.pp.ru> +# Contributor: John D Jones III AKA jnbek <jnbek1972 -_AT_- g m a i l -_Dot_- com> +# Generator : CPANPLUS::Dist::Arch 1.32 + +pkgname='perl-pegex' +pkgver=0.70 +pkgrel=3 +pkgdesc="Acmeist PEG Parser Framework" +arch=('any') +license=('PerlArtistic' 'GPL') +options=('!emptydirs') +depends=('perl-yaml-libyaml' 'perl-file-sharedir-install') +makedepends=() +url='https://metacpan.org/release/Pegex' +source=("https://search.cpan.org/CPAN/authors/id/I/IN/INGY/Pegex-$pkgver.tar.gz") +sha256sums=('fd3521321026048f493a88d43ce4b8e054f5d7acfec6a1db32fcaabe4dfda0fd') + +build() { + ( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" \ + PERL_AUTOINSTALL=--skipdeps \ + PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='"$pkgdir"'" \ + PERL_MB_OPT="--installdirs vendor --destdir '"$pkgdir"'" \ + MODULEBUILDRC=/dev/null + cd "$srcdir/Pegex-$pkgver" + /usr/bin/perl Makefile.PL + make + ) +} + +check() { + cd "$srcdir/Pegex-$pkgver" + ( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" + make test + ) +} + +package() { + cd "$srcdir/Pegex-$pkgver" + make install + find "$pkgdir" -name .packlist -o -name perllocal.pod -delete +}