summaryrefslogtreecommitdiff
path: root/perl-perinci-examples/PKGBUILD
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2017-09-12 10:23:20 +0200
committerErich Eckner <git@eckner.net>2017-09-12 10:23:20 +0200
commit14b559001da33e66a238a763bbf2ccb10ed604d0 (patch)
tree6614bae7044a61345eb89f062c8e0ae440c8ae17 /perl-perinci-examples/PKGBUILD
parenta10d1257d683df5a5ff5b94b133ba1755a45ef43 (diff)
downloadarchlinuxewe-14b559001da33e66a238a763bbf2ccb10ed604d0.tar.xz
perl-perinci-examples: enable author tests
Diffstat (limited to 'perl-perinci-examples/PKGBUILD')
-rw-r--r--perl-perinci-examples/PKGBUILD7
1 files changed, 7 insertions, 0 deletions
diff --git a/perl-perinci-examples/PKGBUILD b/perl-perinci-examples/PKGBUILD
index 6cb0735ec..11a274f4d 100644
--- a/perl-perinci-examples/PKGBUILD
+++ b/perl-perinci-examples/PKGBUILD
@@ -24,6 +24,11 @@ makedepends=(
'perl-pathtools'
'perl-test-simple'
)
+checkdepends=(
+ 'perl-pod-coverage-trustpod'
+ 'perl-test-pod'
+ 'perl-test-pod-coverage'
+)
url='https://metacpan.org/release/Perinci-Examples'
_distdir="Perinci-Examples-${pkgver}"
source=("https://cpan.metacpan.org/authors/id/P/PE/PERLANCAR/${_distdir}.tar.gz")
@@ -52,6 +57,8 @@ build() {
check() {
cd "${srcdir}/${_distdir}"
+ export AUTHOR_TESTING=1
+
# If using Makefile.PL
if [ -r Makefile.PL ]; then
make test