summaryrefslogtreecommitdiff
path: root/perl-html-restrict
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2017-09-07 10:52:57 +0200
committerErich Eckner <git@eckner.net>2017-09-07 10:52:57 +0200
commitdd9ac3d01911fec0b8f635337b3bf850b84e6a66 (patch)
tree34fc856b4d7ed56c97fd47353441297c84e3650d /perl-html-restrict
parentc1b77cb331f42489882e1bf1aeff553fa6f7104a (diff)
downloadarchlinuxewe.git.save-dd9ac3d01911fec0b8f635337b3bf850b84e6a66.tar.xz
perl-html-restrict: enable all tests
Diffstat (limited to 'perl-html-restrict')
-rw-r--r--perl-html-restrict/PKGBUILD16
1 files changed, 15 insertions, 1 deletions
diff --git a/perl-html-restrict/PKGBUILD b/perl-html-restrict/PKGBUILD
index 1a15775b..5d32a49d 100644
--- a/perl-html-restrict/PKGBUILD
+++ b/perl-html-restrict/PKGBUILD
@@ -3,7 +3,7 @@
pkgname='perl-html-restrict'
pkgver=2.2.4
-pkgrel='4'
+pkgrel='5'
pkgdesc='Strip unwanted HTML tags and attributes'
arch=('any')
license=('PerlArtistic' 'GPL')
@@ -22,6 +22,17 @@ makedepends=(
'perl-extutils-makemaker'
'perl-test-fatal'
'perl-test-simple')
+checkdepends=(
+ 'perl-code-tidyall'
+ 'perl-code-tidyall-plugin-sortlines-naturally'
+ 'perl-cpan-changes'
+ 'perl-json-maybexs'
+ 'perl-perl-tidy'
+ 'perl-pod-coverage-trustpod'
+ 'perl-test-pod'
+ 'perl-test-pod-coverage'
+ 'perl-test-spelling'
+ 'perl-test-synopsis')
url='https://metacpan.org/release/HTML-Restrict'
_distdir="HTML-Restrict-${pkgver}"
source=("https://cpan.metacpan.org/authors/id/O/OA/OALDERS/${_distdir}.tar.gz")
@@ -50,6 +61,9 @@ build(){
check(){
cd "${srcdir}/${_distdir}"
+ export RELEASE_TESTING=1
+ export AUTHOR_TESTING=1
+
# If using Makefile.PL
if [ -r Makefile.PL ]; then
make test