[arch-commits] Commit in perl-test-warnings/repos (2 files)

Felix Yan felixonmars at archlinux.org
Mon May 24 08:33:57 UTC 2021


    Date: Monday, May 24, 2021 @ 08:33:56
  Author: felixonmars
Revision: 943965

archrelease: copy trunk to community-staging-any

Added:
  perl-test-warnings/repos/community-staging-any/
  perl-test-warnings/repos/community-staging-any/PKGBUILD
    (from rev 943963, perl-test-warnings/trunk/PKGBUILD)

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

Copied: perl-test-warnings/repos/community-staging-any/PKGBUILD (from rev 943963, perl-test-warnings/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2021-05-24 08:33:56 UTC (rev 943965)
@@ -0,0 +1,44 @@
+# Maintainer: Sergej Pupykin <arch+pub at sergej.pp.ru>
+# Contributor: John D Jones III <jnbek1972 -_AT_- g m a i l -_Dot_- com>
+# Generator  : CPANPLUS::Dist::Arch 1.28
+
+pkgname='perl-test-warnings'
+pkgver=0.026
+pkgrel=7
+pkgdesc="Test for warnings and the lack of them"
+arch=('any')
+license=('PerlArtistic' 'GPL')
+options=('!emptydirs')
+depends=('perl')
+makedepends=()
+url='https://search.mcpan.org/dist/Test-Warnings'
+source=("https://search.mcpan.org/CPAN/authors/id/E/ET/ETHER/Test-Warnings-$pkgver.tar.gz")
+md5sums=('1a379f7eac4c89155d98e652459593a7')
+
+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"'" \
+      PERL_USE_UNSAFE_INC=1 \
+      MODULEBUILDRC=/dev/null
+
+    cd "$srcdir/Test-Warnings-$pkgver"
+    /usr/bin/perl Makefile.PL
+    make
+  )
+}
+
+check() {
+  cd "$srcdir/Test-Warnings-$pkgver"
+  ( export PERL_MM_USE_DEFAULT=1 PERL5LIB=""
+    make test
+  )
+}
+
+package() {
+  cd "$srcdir/Test-Warnings-$pkgver"
+  make install
+
+  find "$pkgdir" -name .packlist -o -name perllocal.pod -delete
+}



More information about the arch-commits mailing list