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

Evangelos Foutras foutrelis at gemini.archlinux.org
Sun May 29 09:33:44 UTC 2022


    Date: Sunday, May 29, 2022 @ 09:33:44
  Author: foutrelis
Revision: 1214041

archrelease: copy trunk to community-staging-any

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

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

Copied: perl-test-needs/repos/community-staging-any/PKGBUILD (from rev 1214038, perl-test-needs/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2022-05-29 09:33:44 UTC (rev 1214041)
@@ -0,0 +1,29 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=perl-test-needs
+pkgver=0.002009
+pkgrel=3
+pkgdesc="Skip tests when modules not available"
+arch=('any')
+license=('PerlArtistic')
+url="https://metacpan.org/release/Test-Needs"
+depends=('perl')
+options=('!emptydirs')
+source=("https://cpan.metacpan.org/authors/id/H/HA/HAARG/Test-Needs-$pkgver.tar.gz")
+sha512sums=('758f22ca9b024f7d3252ff575ae84453e64f4ef4e18d3233cdaa3b81d9212cf48e41fde529047e7355678d5e53345bd51210a45dd9545c3bf8ffe16f96a9500d')
+
+build() {
+  cd Test-Needs-$pkgver
+  perl Makefile.PL INSTALLDIRS=vendor
+  make
+}
+
+check() {
+  cd Test-Needs-$pkgver
+  make test
+}
+
+package() {
+  cd Test-Needs-$pkgver
+  make DESTDIR="$pkgdir" install
+}



More information about the arch-commits mailing list