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

Evangelos Foutras foutrelis at archlinux.org
Sat May 25 10:50:32 UTC 2019


    Date: Saturday, May 25, 2019 @ 10:50:32
  Author: foutrelis
Revision: 470272

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 470271, perl-test-mockmodule/trunk/PKGBUILD)

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

Copied: perl-test-mockmodule/repos/community-staging-any/PKGBUILD (from rev 470271, perl-test-mockmodule/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2019-05-25 10:50:32 UTC (rev 470272)
@@ -0,0 +1,33 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=perl-test-mockmodule
+pkgver=0.170.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='http://search.cpan.org/dist/Test-MockModule'
+source=("http://search.cpan.org/CPAN/authors/id/G/GF/GFRANKS/Test-MockModule-v$pkgver.tar.gz")
+sha512sums=('e62f79eb5c737838a0276bb1de5301e3f2eceef4f9b80fde0678e16490419f2d02afd24ab292e938b923a7d214e3aa60e73baf0d17da7047ca37064111c3ff79')
+
+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