[arch-commits] Commit in perl-pegex/repos (community-any community-any/PKGBUILD)
Sergej Pupykin
spupykin at archlinux.org
Thu Jun 2 19:11:10 UTC 2016
Date: Thursday, June 2, 2016 @ 21:11:10
Author: spupykin
Revision: 177763
archrelease: copy trunk to community-any
Added:
perl-pegex/repos/community-any/
perl-pegex/repos/community-any/PKGBUILD
(from rev 177762, perl-pegex/trunk/PKGBUILD)
----------+
PKGBUILD | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 51 insertions(+)
Copied: perl-pegex/repos/community-any/PKGBUILD (from rev 177762, perl-pegex/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD (rev 0)
+++ community-any/PKGBUILD 2016-06-02 19:11:10 UTC (rev 177763)
@@ -0,0 +1,51 @@
+# $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'
+_distdir="Pegex-0.60"
+pkgver='0.60'
+pkgrel='1'
+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-0.60.tar.gz')
+md5sums=('347f72c1c0347148d80058ea35927df8')
+
+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/$_distdir"
+ /usr/bin/perl Makefile.PL
+ make
+ )
+}
+
+check() {
+ cd "$srcdir/$_distdir"
+ ( export PERL_MM_USE_DEFAULT=1 PERL5LIB=""
+ make test
+ )
+}
+
+package() {
+ cd "$srcdir/$_distdir"
+ make install
+
+ find "$pkgdir" -name .packlist -o -name perllocal.pod -delete
+}
+
+# Local Variables:
+# mode: shell-script
+# sh-basic-offset: 2
+# End:
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list