[arch-commits] Commit in perl-pegex/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Sat Aug 26 14:09:16 UTC 2017
Date: Saturday, August 26, 2017 @ 14:09:15
Author: felixonmars
Revision: 254084
archrelease: copy trunk to community-staging-any
Added:
perl-pegex/repos/community-staging-any/
perl-pegex/repos/community-staging-any/PKGBUILD
(from rev 254081, perl-pegex/trunk/PKGBUILD)
----------+
PKGBUILD | 42 ++++++++++++++++++++++++++++++++++++++++++
1 file changed, 42 insertions(+)
Copied: perl-pegex/repos/community-staging-any/PKGBUILD (from rev 254081, perl-pegex/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2017-08-26 14:09:15 UTC (rev 254084)
@@ -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.63
+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=("http://search.cpan.org/CPAN/authors/id/I/IN/INGY/Pegex-$pkgver.tar.gz")
+sha256sums=('3447159d953e35ead9ce614242275b6f04fc4af4322c7a7aa3b900343f71f0a9')
+
+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