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

Evangelos Foutras foutrelis at archlinux.org
Sat May 25 09:24:58 UTC 2019


    Date: Saturday, May 25, 2019 @ 09:24:57
  Author: foutrelis
Revision: 470139

archrelease: copy trunk to community-staging-any

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

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

Copied: perl-test-failwarnings/repos/community-staging-any/PKGBUILD (from rev 470138, perl-test-failwarnings/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2019-05-25 09:24:57 UTC (rev 470139)
@@ -0,0 +1,46 @@
+# Maintainer: Florian Pritz <bluewind at xinu.at>
+
+pkgname=perl-test-failwarnings
+pkgver=0.008
+pkgrel=3
+pkgdesc='Add test failures if warnings are caught'
+arch=(any)
+license=(PerlArtistic GPL)
+options=(!emptydirs)
+depends=('perl>=5.8.1')
+checkdepends=('perl-capture-tiny>=0.12')
+url=https://metacpan.org/release/Test-FailWarnings
+source=("http://search.cpan.org/CPAN/authors/id/D/DA/DAGOLDEN/Test-FailWarnings-$pkgver.tar.gz")
+md5sums=(c03d51f550dbfd9945722ff7f4c32717)
+sha512sums=(7bffcc18191326095d99ad01be6426f4d9d927f769a156318f9abfea67da6adfecb657bad89390740c9f531fe69c717afa1d250258eed63d127bf10cbbf2bd51)
+_ddir="Test-FailWarnings-$pkgver"
+
+build()
+(
+  cd "$srcdir/$_ddir"
+  export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps
+  unset PERL5LIB PERL_MM_OPT
+  /usr/bin/perl Makefile.PL
+  make
+)
+
+check()
+(
+  cd "$srcdir/$_ddir"
+  export PERL_MM_USE_DEFAULT=1
+  unset PERL5LIB
+  make test
+)
+
+package()
+(
+  cd "$srcdir/$_ddir"
+  make install INSTALLDIRS=vendor DESTDIR="$pkgdir"
+  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