summaryrefslogtreecommitdiff
path: root/user/perl-html-formatter/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'user/perl-html-formatter/APKBUILD')
-rw-r--r--user/perl-html-formatter/APKBUILD5
1 files changed, 1 insertions, 4 deletions
diff --git a/user/perl-html-formatter/APKBUILD b/user/perl-html-formatter/APKBUILD
index 9fc2e5fcd..1d8127cf2 100644
--- a/user/perl-html-formatter/APKBUILD
+++ b/user/perl-html-formatter/APKBUILD
@@ -11,7 +11,7 @@ pkgdesc="HTML formatters for Perl"
url="https://metacpan.org/release/HTML-Formatter"
arch="noarch"
license="Artistic-1.0-Perl OR GPL-2.0-only"
-depends="perl-file-slurper perl-font-afm perl-html-tree"
+depends="perl perl-file-slurper perl-font-afm perl-html-tree"
checkdepends="perl-test-warnings"
makedepends="perl-dev"
subpackages="$pkgname-doc"
@@ -19,18 +19,15 @@ source="https://cpan.metacpan.org/authors/id/$_a/$_au/$_author/$_pkgreal-$pkgver
builddir="$srcdir/$_pkgreal-$pkgver"
build() {
- cd "$builddir"
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
make
}
check() {
- cd "$builddir"
make test
}
package() {
- cd "$builddir"
make DESTDIR="$pkgdir" install
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}