[arch-commits] Commit in perl-config-simple/repos (staging-any staging-any/PKGBUILD)

Evangelos Foutras foutrelis at gemini.archlinux.org
Sun May 29 11:59:58 UTC 2022


    Date: Sunday, May 29, 2022 @ 11:59:58
  Author: foutrelis
Revision: 446953

archrelease: copy trunk to staging-any

Added:
  perl-config-simple/repos/staging-any/
  perl-config-simple/repos/staging-any/PKGBUILD
    (from rev 446952, perl-config-simple/trunk/PKGBUILD)

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

Copied: perl-config-simple/repos/staging-any/PKGBUILD (from rev 446952, perl-config-simple/trunk/PKGBUILD)
===================================================================
--- staging-any/PKGBUILD	                        (rev 0)
+++ staging-any/PKGBUILD	2022-05-29 11:59:58 UTC (rev 446953)
@@ -0,0 +1,38 @@
+# Maintainer: Florian Pritz <bluewind at xinu.at>
+
+pkgname=perl-config-simple
+pkgver=4.59
+pkgrel=14
+pkgdesc="Simple configuration file class to create and read config files"
+arch=(any)
+license=(PerlArtistic GPL)
+options=(!emptydirs)
+depends=('perl')
+url="https://search.cpan.org/~sherzodr/Config-Simple"
+source=("https://search.cpan.org/CPAN/authors/id/S/SH/SHERZODR/Config-Simple-${pkgver}.tar.gz")
+md5sums=('96513b61c7db591339ce2577878a3b32')
+
+build() {
+  export PERL_MM_USE_DEFAULT=1 PERL5LIB=""                 \
+    PERL_AUTOINSTALL=--skipdeps                            \
+    PERL_MM_OPT="INSTALLDIRS=vendor"     \
+    PERL_MB_OPT="--installdirs vendor" \
+    MODULEBUILDRC=/dev/null
+
+  cd "${srcdir}/Config-Simple-${pkgver}"
+  /usr/bin/perl Makefile.PL
+  make
+}
+
+check() {
+  export PERL_MM_USE_DEFAULT=1 PERL5LIB=""
+  cd "${srcdir}/Config-Simple-${pkgver}"
+  make test
+}
+
+package() {
+  cd "$_distdir"
+  cd "${srcdir}/Config-Simple-${pkgver}"
+  make DESTDIR="$pkgdir" install
+  find "$pkgdir" -name .packlist -o -name perllocal.pod -delete
+}



More information about the arch-commits mailing list