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

Felix Yan felixonmars at archlinux.org
Sun Jun 21 15:07:11 UTC 2020


    Date: Sunday, June 21, 2020 @ 15:07:10
  Author: felixonmars
Revision: 649415

archrelease: copy trunk to community-staging-any

Added:
  perl-test-mockmodule/repos/community-staging-any/
  perl-test-mockmodule/repos/community-staging-any/PKGBUILD
    (from rev 649414, perl-test-mockmodule/trunk/PKGBUILD)

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

Copied: perl-test-mockmodule/repos/community-staging-any/PKGBUILD (from rev 649414, perl-test-mockmodule/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-06-21 15:07:10 UTC (rev 649415)
@@ -0,0 +1,33 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=perl-test-mockmodule
+pkgver=0.173.0
+pkgrel=2
+pkgdesc="Override subroutines in a module for unit testing"
+arch=('any')
+license=('PerlArtistic' 'GPL')
+options=('!emptydirs')
+depends=('perl-super')
+makedepends=('perl-module-build')
+checkdepends=('perl-test-pod' 'perl-test-pod-coverage' 'perl-test-warnings')
+url='https://search.cpan.org/dist/Test-MockModule'
+source=("https://search.cpan.org/CPAN/authors/id/G/GF/GFRANKS/Test-MockModule-v$pkgver.tar.gz")
+sha512sums=('45aa0a224f406f675ce17d8a62c40cdacf8aea88bb826a0404017f464346fb9177a720a8687449a03bc5593d4df52c45fc2c43a5c70d80aabede7d41e6f5a02a')
+
+build() {
+  cd "$srcdir/Test-MockModule-v$pkgver"
+  perl Build.PL installdirs=vendor
+  perl Build
+}
+
+check() {
+  cd "$srcdir/Test-MockModule-v$pkgver"
+  perl Build test
+}
+
+package() {
+  cd "$srcdir/Test-MockModule-v$pkgver"
+  perl Build install destdir="$pkgdir"
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list