[arch-commits] Commit in perl-test-needs/repos (community-any community-any/PKGBUILD)

Felix Yan felixonmars at archlinux.org
Thu Apr 13 16:35:52 UTC 2017


    Date: Thursday, April 13, 2017 @ 16:35:51
  Author: felixonmars
Revision: 222787

archrelease: copy trunk to community-any

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

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

Copied: perl-test-needs/repos/community-any/PKGBUILD (from rev 222786, perl-test-needs/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD	                        (rev 0)
+++ community-any/PKGBUILD	2017-04-13 16:35:51 UTC (rev 222787)
@@ -0,0 +1,30 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=perl-test-needs
+pkgver=0.002005
+pkgrel=1
+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