[arch-commits] Commit in perl-test-mockmodule/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Sat Aug 26 17:33:54 UTC 2017
Date: Saturday, August 26, 2017 @ 17:33:53
Author: felixonmars
Revision: 254198
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 254197, perl-test-mockmodule/trunk/PKGBUILD)
----------+
PKGBUILD | 34 ++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)
Copied: perl-test-mockmodule/repos/community-staging-any/PKGBUILD (from rev 254197, perl-test-mockmodule/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2017-08-26 17:33:53 UTC (rev 254198)
@@ -0,0 +1,34 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=perl-test-mockmodule
+pkgver=0.12
+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=('be257682d2515b835442e604a69d16b394c67d4bf25f2547cd7408bde5ca1981d3ca1e40e2a458307f33ffff85c937ac946fe46968cdef170ce27b30b3668323')
+
+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