blob: 82d984b5964abef6375f77bb2575da8a7cb0d863 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
# 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.10
pkgrel=0
pkgdesc="Base class for HTML formatters"
url="http://search.cpan.org/dist/HTML-Format/"
arch="noarch"
license="GPL PerlArtistic"
cpandepends="perl-font-afm perl-html-tree"
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="34831ec506eaa8a7ad5da698224cf58d HTML-Format-2.10.tar.gz"
sha256sums="149f4ac19733042e3f81b965047e9a053d8e5eb0832437625f4b9de860d5819a HTML-Format-2.10.tar.gz"
sha512sums="a15a471fab17285704dbfb91b226d75d2bda0fbacbb5ce9259bc72fd4e7d5ba2129b5b4f133d68ebe3f03ddad0620e2e757f29bf4c7af819bf00333c2fad200c HTML-Format-2.10.tar.gz"
|