[arch-commits] Commit in perl-test-mockmodule/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Mon May 24 10:38:05 UTC 2021
Date: Monday, May 24, 2021 @ 10:38:05
Author: felixonmars
Revision: 944271
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 944270, perl-test-mockmodule/trunk/PKGBUILD)
----------+
PKGBUILD | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)
Copied: perl-test-mockmodule/repos/community-staging-any/PKGBUILD (from rev 944270, perl-test-mockmodule/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2021-05-24 10:38:05 UTC (rev 944271)
@@ -0,0 +1,33 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=perl-test-mockmodule
+pkgver=0.176.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=('6e1ce7b8888e18d71f0e84bd2a761593e3a34e169d34251b5259e6e037796c2e207c50d5689d1ab56aa271e71f3ea2f05cc6a86f0bde080db1caf7205587cc60')
+
+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