[arch-commits] Commit in perl-config-grammar/repos (2 files)
Florian Pritz
bluewind at nymeria.archlinux.org
Wed Sep 4 17:04:12 UTC 2013
Date: Wednesday, September 4, 2013 @ 19:04:12
Author: bluewind
Revision: 96767
archrelease: copy trunk to community-any
Added:
perl-config-grammar/repos/community-any/
perl-config-grammar/repos/community-any/PKGBUILD
(from rev 96766, perl-config-grammar/trunk/PKGBUILD)
----------+
PKGBUILD | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 50 insertions(+)
Copied: perl-config-grammar/repos/community-any/PKGBUILD (from rev 96766, perl-config-grammar/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD (rev 0)
+++ community-any/PKGBUILD 2013-09-04 17:04:12 UTC (rev 96767)
@@ -0,0 +1,50 @@
+# Maintainer: Florian Pritz <bluewind at xinu.at>
+# Contributor: Christos Nouskas <nous at archlinux.us>
+# Generator : CPANPLUS::Dist::Arch 1.25
+
+pkgname='perl-config-grammar'
+pkgver=1.10
+pkgrel=2
+pkgdesc="A grammar-based, user-friendly config parser"
+arch=('any')
+license=('PerlArtistic' 'GPL')
+options=('!emptydirs')
+depends=('perl')
+makedepends=()
+url='http://search.cpan.org/dist/Config-Grammar'
+source=('http://search.cpan.org/CPAN/authors/id/D/DS/DSCHWEI/Config-Grammar-1.10.tar.gz')
+md5sums=('ce904f687f1ee9c70521142a2e0f15c9')
+sha512sums=('0891984da560a9dd758fff0678cd577898f4b1796d275dfbed27d411941aca7830f7b6f8a4a4a913572bf0ea7b62414b3d852c0a37b5e629db6ae437c1db0690')
+_distdir="Config-Grammar-$pkgver"
+
+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