[arch-commits] Commit in perl-config-grammar/repos (2 files)

Evangelos Foutras foutrelis at gemini.archlinux.org
Sun May 29 11:55:33 UTC 2022


    Date: Sunday, May 29, 2022 @ 11:55:33
  Author: foutrelis
Revision: 1214547

archrelease: copy trunk to community-staging-any

Added:
  perl-config-grammar/repos/community-staging-any/
  perl-config-grammar/repos/community-staging-any/PKGBUILD
    (from rev 1214544, perl-config-grammar/trunk/PKGBUILD)

----------+
 PKGBUILD |   42 ++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 42 insertions(+)

Copied: perl-config-grammar/repos/community-staging-any/PKGBUILD (from rev 1214544, perl-config-grammar/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2022-05-29 11:55:33 UTC (rev 1214547)
@@ -0,0 +1,42 @@
+# 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.12
+pkgrel=8
+pkgdesc="A grammar-based, user-friendly config parser"
+arch=('any')
+license=('PerlArtistic' 'GPL')
+options=('!emptydirs')
+depends=('perl')
+makedepends=()
+url='https://search.cpan.org/dist/Config-Grammar'
+source=("https://search.cpan.org/CPAN/authors/id/D/DS/DSCHWEI/Config-Grammar-$pkgver.tar.gz")
+sha256sums=('7a52a3657d96e6f1f529caaa09ec3bf7dd6a245b47875382c323902f6d9590b0')
+
+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/Config-Grammar-$pkgver"
+    /usr/bin/perl Makefile.PL
+    make
+  )
+}
+
+check() {
+  cd "$srcdir/Config-Grammar-$pkgver"
+  ( export PERL_MM_USE_DEFAULT=1 PERL5LIB=""
+    make test
+  )
+}
+
+package() {
+  cd "$srcdir/Config-Grammar-$pkgver"
+  make install
+  find "$pkgdir" -name .packlist -o -name perllocal.pod -delete
+}



More information about the arch-commits mailing list