aboutsummaryrefslogtreecommitdiffstats
path: root/main/perl-html-format/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/perl-html-format/APKBUILD')
-rw-r--r--main/perl-html-format/APKBUILD37
1 files changed, 37 insertions, 0 deletions
diff --git a/main/perl-html-format/APKBUILD b/main/perl-html-format/APKBUILD
new file mode 100644
index 0000000000..eb4c7740ad
--- /dev/null
+++ b/main/perl-html-format/APKBUILD
@@ -0,0 +1,37 @@
+# Automatically generated by apkbuild-cpan, template 1
+# Contributor: Timo Teräs <timo.teras@iki.fi>
+# Maintainer: Timo Teräs <timo.teras@iki.fi>
+pkgname=perl-html-format
+_pkgreal=HTML-Format
+pkgver=2.07
+pkgrel=0
+pkgdesc="Base class for HTML formatters"
+url="http://search.cpan.org/dist/HTML-Format/"
+arch="noarch"
+license="GPL PerlArtistic"
+cpandepends="perl-html-tree perl-font-afm"
+cpanmakedepends="perl-file-slurp"
+depends="$cpandepends"
+makedepends="perl-dev $cpanmakedepends"
+subpackages="$pkgname-doc"
+source="http://search.cpan.org/CPAN/authors/id/N/NI/NIGELM/$_pkgreal-$pkgver.tar.gz"
+
+_builddir="$srcdir/$_pkgreal-$pkgver"
+
+prepare() {
+ cd "$_builddir"
+ perl Build.PL installdirs=vendor || return 1
+}
+
+build() {
+ cd "$_builddir"
+ ./Build && ./Build test
+}
+
+package() {
+ cd "$_builddir"
+ ./Build install destdir="$pkgdir" || return 1
+ find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
+}
+
+md5sums="07b43da2e23ad4f6eeacee8219c65fa4 HTML-Format-2.07.tar.gz"