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

Florian Pritz bluewind at archlinux.org
Wed Aug 1 09:06:12 UTC 2018


    Date: Wednesday, August 1, 2018 @ 09:06:12
  Author: bluewind
Revision: 366251

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

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

Copied: perl-test-needs/repos/community-staging-any/PKGBUILD (from rev 366250, perl-test-needs/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2018-08-01 09:06:12 UTC (rev 366251)
@@ -0,0 +1,30 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=perl-test-needs
+pkgver=0.002005
+pkgrel=4
+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=('b3023067d1f8726b0ae2162d0b3722193a3b56d12d5c207cf9558f1552ae8ab554773b843d00f1c481857c259fa869b8fdaf5a4838ab0768f38726ddec4130c6')
+
+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