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

Felix Yan felixonmars at archlinux.org
Wed Aug 1 09:23:41 UTC 2018


    Date: Wednesday, August 1, 2018 @ 09:23:41
  Author: felixonmars
Revision: 366410

archrelease: copy trunk to community-staging-any

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

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

Copied: perl-test-trap/repos/community-staging-any/PKGBUILD (from rev 366409, perl-test-trap/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2018-08-01 09:23:41 UTC (rev 366410)
@@ -0,0 +1,32 @@
+# $Id$
+# Maintainer:
+
+pkgname=perl-test-trap
+pkgver=0.3.3
+pkgrel=2
+pkgdesc='Trap exit codes, exceptions, output, etc.'
+arch=('any')
+url="https://metacpan.org/release/Test-Trap"
+license=('PerlArtistic' 'GPL')
+depends=('perl' 'perl-data-dump' 'perl-test-tester')
+options=('!emptydirs')
+source=("http://search.cpan.org/CPAN/authors/id/E/EB/EBHANSSEN/Test-Trap-v$pkgver.tar.gz")
+sha1sums=('a4558dafadebc01ac5e53689708163079520720e')
+
+build() {
+  cd Test-Trap-v$pkgver
+  perl Makefile.PL INSTALLDIRS=vendor
+  make
+}
+
+check() {
+  cd Test-Trap-v$pkgver
+  # XXX: test fails since perl 5.26.0, no idea why, figure it out later - bluewind
+  rm -f t/10-tester.t
+  make test
+}
+
+package() {
+  cd Test-Trap-v$pkgver
+  make DESTDIR="$pkgdir" install
+}



More information about the arch-commits mailing list