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

Felix Yan felixonmars at archlinux.org
Mon May 24 08:42:26 UTC 2021


    Date: Monday, May 24, 2021 @ 08:42:25
  Author: felixonmars
Revision: 944076

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 944072, perl-test-trap/trunk/PKGBUILD)

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

Copied: perl-test-trap/repos/community-staging-any/PKGBUILD (from rev 944072, perl-test-trap/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2021-05-24 08:42:25 UTC (rev 944076)
@@ -0,0 +1,31 @@
+# Maintainer:
+
+pkgname=perl-test-trap
+pkgver=0.3.4
+pkgrel=4
+pkgdesc='Trap exit codes, exceptions, output, etc.'
+arch=('any')
+url="https://metacpan.org/release/Test-Trap"
+license=('PerlArtistic' 'GPL')
+depends=('perl' 'perl-data-dump')
+options=('!emptydirs')
+source=("https://search.cpan.org/CPAN/authors/id/E/EB/EBHANSSEN/Test-Trap-v$pkgver.tar.gz")
+sha1sums=('53519d57ba9879fa935cf49c09da7514d8d7dd89')
+
+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