summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 1a15775b4..5d32a49d0 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