summaryrefslogtreecommitdiff
path: root/user/perl-html-formatter
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2020-01-08 02:04:41 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2020-01-08 02:04:41 +0000
commit248e7a52656e742b531ac109f32673074a5d60a4 (patch)
treeb05ab0b7c325872736f40b693ad911f37ea03e40 /user/perl-html-formatter
parentd6cd38dc141bd0d195154a56b024028fa449a65f (diff)
downloadpackages-248e7a52656e742b531ac109f32673074a5d60a4.tar.gz
packages-248e7a52656e742b531ac109f32673074a5d60a4.tar.bz2
packages-248e7a52656e742b531ac109f32673074a5d60a4.tar.xz
packages-248e7a52656e742b531ac109f32673074a5d60a4.zip
user/[Perl pods]: Modernise / fix syntax / deps
Diffstat (limited to 'user/perl-html-formatter')
-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
}