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

Felix Yan felixonmars at archlinux.org
Fri Jun 2 04:17:30 UTC 2017


    Date: Friday, June 2, 2017 @ 04:17:29
  Author: felixonmars
Revision: 232757

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

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

Copied: perl-test-mockmodule/repos/community-staging-any/PKGBUILD (from rev 232756, perl-test-mockmodule/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2017-06-02 04:17:29 UTC (rev 232757)
@@ -0,0 +1,34 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=perl-test-mockmodule
+pkgver=0.11
+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')
+url='http://search.cpan.org/dist/Test-MockModule'
+source=("http://search.cpan.org/CPAN/authors/id/G/GF/GFRANKS/Test-MockModule-$pkgver.tar.gz")
+sha512sums=('417a0de701458e3e26ea194cb2de7756d9a1665b2b7283a375ee95362ee2d7b77996801d4dafd8ead12e97d59c2a57ffd1e98620446d5f47a1836c8ef18983b4')
+
+build() {
+  cd "$srcdir/Test-MockModule-$pkgver"
+  perl Build.PL installdirs=vendor
+  perl Build
+}
+
+check() {
+  cd "$srcdir/Test-MockModule-$pkgver"
+  perl Build test
+}
+
+package() {
+  cd "$srcdir/Test-MockModule-$pkgver"
+  perl Build install destdir="$pkgdir"
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list