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

Evangelos Foutras foutrelis at archlinux.org
Mon May 24 08:37:01 UTC 2021


    Date: Monday, May 24, 2021 @ 08:37:00
  Author: foutrelis
Revision: 944052

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

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

Copied: perl-test-requires/repos/community-staging-any/PKGBUILD (from rev 944050, perl-test-requires/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2021-05-24 08:37:00 UTC (rev 944052)
@@ -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=3
+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