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

Felix Yan felixonmars at gemini.archlinux.org
Sun May 29 10:20:57 UTC 2022


    Date: Sunday, May 29, 2022 @ 10:20:56
  Author: felixonmars
Revision: 1214166

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

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

Copied: perl-test-trap/repos/community-staging-any/PKGBUILD (from rev 1214164, perl-test-trap/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2022-05-29 10:20:56 UTC (rev 1214166)
@@ -0,0 +1,31 @@
+# Maintainer:
+
+pkgname=perl-test-trap
+pkgver=0.3.4
+pkgrel=5
+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