[arch-commits] Commit in perl-test-requires/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Sun Jun 21 10:13:56 UTC 2020
Date: Sunday, June 21, 2020 @ 10:13:56
Author: felixonmars
Revision: 648841
archrelease: copy trunk to community-staging-any
Added:
perl-test-requires/repos/community-staging-any/
perl-test-requires/repos/community-staging-any/PKGBUILD
(from rev 648839, perl-test-requires/trunk/PKGBUILD)
----------+
PKGBUILD | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
Copied: perl-test-requires/repos/community-staging-any/PKGBUILD (from rev 648839, perl-test-requires/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2020-06-21 10:13:56 UTC (rev 648841)
@@ -0,0 +1,31 @@
+# Maintainer: Jonathan Steel <jsteel at aur.archlinux.org>
+# Contributor: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: Justin Davis <jrcd83 at gmail.com>
+
+pkgname=perl-test-requires
+pkgver=0.11
+pkgrel=2
+pkgdesc="Checks to see if the module can be loaded"
+arch=('any')
+license=('PerlArtistic' 'GPL')
+options=('!emptydirs')
+depends=('perl')
+url='https://search.cpan.org/dist/Test-Requires'
+source=("https://search.cpan.org/CPAN/authors/id/T/TO/TOKUHIROM/Test-Requires-$pkgver.tar.gz")
+sha512sums=('770ea2469e386296fe1ded3630fa9b7f30ee22acd3522fb83ad95171ccb96812ef2fc5fa30d658a405dc1c435d35b6d476cc054021d74e04b419b517f6f898fa')
+
+build() {
+ cd "$srcdir"/Test-Requires-$pkgver
+ perl Makefile.PL INSTALLDIRS=vendor
+ make
+}
+
+check() {
+ cd "$srcdir"/Test-Requires-$pkgver
+ make test
+}
+
+package() {
+ cd "$srcdir"/Test-Requires-$pkgver
+ make DESTDIR="$pkgdir"/ install
+}
More information about the arch-commits
mailing list