[arch-commits] Commit in perl-test-requires/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Sat May 25 09:07:12 UTC 2019
Date: Saturday, May 25, 2019 @ 09:07:11
Author: felixonmars
Revision: 469996
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 469995, perl-test-requires/trunk/PKGBUILD)
----------+
PKGBUILD | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
Copied: perl-test-requires/repos/community-staging-any/PKGBUILD (from rev 469995, perl-test-requires/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2019-05-25 09:07:11 UTC (rev 469996)
@@ -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.10
+pkgrel=5
+pkgdesc="Checks to see if the module can be loaded"
+arch=('any')
+license=('PerlArtistic' 'GPL')
+options=('!emptydirs')
+depends=('perl')
+url='http://search.cpan.org/dist/Test-Requires'
+source=("http://search.cpan.org/CPAN/authors/id/T/TO/TOKUHIROM/Test-Requires-$pkgver.tar.gz")
+md5sums=('0d5da779609d0c8fa6f796b45ff8c6f3')
+
+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