[arch-commits] Commit in perl-test-needs/repos (2 files)
Evangelos Foutras
foutrelis at archlinux.org
Sun Jun 21 10:29:17 UTC 2020
Date: Sunday, June 21, 2020 @ 10:29:16
Author: foutrelis
Revision: 648968
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 648967, perl-test-needs/trunk/PKGBUILD)
----------+
PKGBUILD | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
Copied: perl-test-needs/repos/community-staging-any/PKGBUILD (from rev 648967, perl-test-needs/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2020-06-21 10:29:16 UTC (rev 648968)
@@ -0,0 +1,29 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=perl-test-needs
+pkgver=0.002006
+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=('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