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

Florian Pritz bluewind at archlinux.org
Thu Jul 5 08:50:16 UTC 2018


    Date: Thursday, July 5, 2018 @ 08:50:15
  Author: bluewind
Revision: 352549

archrelease: copy trunk to community-any

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

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

Copied: perl-test-failwarnings/repos/community-any/PKGBUILD (from rev 352548, perl-test-failwarnings/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD	                        (rev 0)
+++ community-any/PKGBUILD	2018-07-05 08:50:15 UTC (rev 352549)
@@ -0,0 +1,46 @@
+# Maintainer: Florian Pritz <bluewind at xinu.at>
+
+pkgname=perl-test-failwarnings
+pkgver=0.008
+pkgrel=1
+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