[arch-commits] Commit in perl-pegex/repos (2 files)
Evangelos Foutras
foutrelis at archlinux.org
Wed Aug 1 12:10:11 UTC 2018
Date: Wednesday, August 1, 2018 @ 12:10:10
Author: foutrelis
Revision: 366677
archrelease: copy trunk to community-staging-any
Added:
perl-pegex/repos/community-staging-any/
perl-pegex/repos/community-staging-any/PKGBUILD
(from rev 366676, perl-pegex/trunk/PKGBUILD)
----------+
PKGBUILD | 42 ++++++++++++++++++++++++++++++++++++++++++
1 file changed, 42 insertions(+)
Copied: perl-pegex/repos/community-staging-any/PKGBUILD (from rev 366676, perl-pegex/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2018-08-01 12:10:10 UTC (rev 366677)
@@ -0,0 +1,42 @@
+# $Id$
+# Maintainer: Sergej Pupykin <arch+pub at 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.64
+pkgrel=2
+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=("http://search.cpan.org/CPAN/authors/id/I/IN/INGY/Pegex-$pkgver.tar.gz")
+sha256sums=('27e00264bdafb9c2109212b9654542032617fecf7b7814915d2bdac198f067cd')
+
+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
+}
More information about the arch-commits
mailing list