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

Felix Yan felixonmars at gemini.archlinux.org
Sun May 29 09:27:28 UTC 2022


    Date: Sunday, May 29, 2022 @ 09:27:27
  Author: felixonmars
Revision: 1213948

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 1213945, perl-test-requires/trunk/PKGBUILD)

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

Copied: perl-test-requires/repos/community-staging-any/PKGBUILD (from rev 1213945, perl-test-requires/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2022-05-29 09:27:27 UTC (rev 1213948)
@@ -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=4
+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