summaryrefslogtreecommitdiff
path: root/user/perl-html-formatter
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-11-18 02:48:37 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-11-18 02:48:37 +0000
commitf3bd7b8c10c09348c72ad9f4ec2d25b4d3c05f5a (patch)
tree3de9d7ce673860a52ae438e40618957c04e19c42 /user/perl-html-formatter
parent8c5526efa9d63920d52a86dda87dcf01a89b8b26 (diff)
downloadpackages-f3bd7b8c10c09348c72ad9f4ec2d25b4d3c05f5a.tar.gz
packages-f3bd7b8c10c09348c72ad9f4ec2d25b4d3c05f5a.tar.bz2
packages-f3bd7b8c10c09348c72ad9f4ec2d25b4d3c05f5a.tar.xz
packages-f3bd7b8c10c09348c72ad9f4ec2d25b4d3c05f5a.zip
user/perl-html-formatter: new package
Diffstat (limited to 'user/perl-html-formatter')
-rw-r--r--user/perl-html-formatter/APKBUILD35
1 files changed, 35 insertions, 0 deletions
diff --git a/user/perl-html-formatter/APKBUILD b/user/perl-html-formatter/APKBUILD
new file mode 100644
index 000000000..9c0eb2b52
--- /dev/null
+++ b/user/perl-html-formatter/APKBUILD
@@ -0,0 +1,35 @@
+# Contributor: A. Wilcox <awilfox@adelielinux.org>
+# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
+pkgname=perl-html-formatter
+_pkgname=HTML-Formatter
+pkgver=2.16
+pkgrel=0
+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"
+checkdepends="perl-test-warnings"
+makedepends="perl-dev"
+subpackages="$pkgname-doc"
+source="https://cpan.metacpan.org/authors/id/N/NI/NIGELM/HTML-Formatter-$pkgver.tar.gz"
+builddir="$srcdir/HTML-Formatter-$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
+}
+
+sha512sums="feb09ed5eefa36f1368f051aa077a8123b5c22a50feea10c09f3b7f826c78ac45868a3fde4f96a340bc922a9512afc9c4b02ca6d97d6e538e517e7f3797bd47c HTML-Formatter-2.16.tar.gz"