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

Felix Yan felixonmars at archlinux.org
Tue Jul 7 15:41:53 UTC 2020


    Date: Tuesday, July 7, 2020 @ 15:41:53
  Author: felixonmars
Revision: 658979

archrelease: copy trunk to community-staging-any

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

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

Copied: perl-test-warn/repos/community-staging-any/PKGBUILD (from rev 658978, perl-test-warn/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-07-07 15:41:53 UTC (rev 658979)
@@ -0,0 +1,28 @@
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: Firmicus <francois.archlinux.org>
+
+pkgname=perl-test-warn
+pkgver=0.36
+pkgrel=2
+pkgdesc="Perl extension to test methods for warnings "
+arch=(any)
+url="https://search.cpan.org/dist/Test-Warn/"
+license=('GPL' 'PerlArtistic')
+depends=('perl-tree-dag-node' 'perl-sub-uplevel>=0.12' 'perl>=5.10.0')
+options=('!emptydirs')
+source=("https://search.cpan.org/CPAN/authors/id/B/BI/BIGJ/Test-Warn-$pkgver.tar.gz")
+sha256sums=('ecbca346d379cef8d3c0e4ac0c8eb3b2613d737ffaaeae52271c38d7bf3c6cda')
+
+build() {
+  cd  "$srcdir"/Test-Warn-$pkgver
+  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+  make
+}
+
+package() {
+  cd  "$srcdir"/Test-Warn-$pkgver
+  make install DESTDIR="$pkgdir"
+  find "$pkgdir" -name '.packlist' -delete
+  find "$pkgdir" -name '*.pod' -delete
+}



More information about the arch-commits mailing list