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

Felix Yan felixonmars at archlinux.org
Sat May 25 09:02:30 UTC 2019


    Date: Saturday, May 25, 2019 @ 09:02:29
  Author: felixonmars
Revision: 469973

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 469970, perl-test-needs/trunk/PKGBUILD)

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

Copied: perl-test-needs/repos/community-staging-any/PKGBUILD (from rev 469970, perl-test-needs/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2019-05-25 09:02:29 UTC (rev 469973)
@@ -0,0 +1,29 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=perl-test-needs
+pkgver=0.002006
+pkgrel=2
+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=('d0c1c527f486250a5c1e4b6e34e4ddcb1e7ab9233f9535b877cc36c8577592be28bf5f78567f45ec0388b276333742d1d15d7841827b64a8d170f475bd4488b7')
+
+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