blob: c7241ffb3b8d0126966b1b864a1f7803c1f84185 (
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
40
41
|
# Automatically generated by apkbuild-cpan, template 1
# Contributor: Leonardo Arena <rnalrd@alpinelinux.org>
# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
pkgname=perl-html-formattext-withlinks-andtables
_pkgreal=HTML-FormatText-WithLinks-AndTables
pkgver=0.07
pkgrel=0
pkgdesc="Perl module for HTML-FormatText-WithLinks-AndTables"
url="http://search.cpan.org/dist/HTML-FormatText-WithLinks-AndTables/"
arch="noarch"
license="GPL PerlArtistic"
cpandepends="perl-html-formattext-withlinks"
cpanmakedepends=""
depends="$cpandepends"
makedepends="perl-dev $cpanmakedepends"
checkdepends="perl-test-pod"
subpackages="$pkgname-doc"
source="http://search.cpan.org/CPAN/authors/id/D/DA/DALEEVANS/$_pkgreal-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver"
build() {
cd "$builddir"
if [ -e Build.PL ]; then
perl Build.PL installdirs=vendor
else
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
fi
}
check() {
cd "$builddir"
make test
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
sha512sums="3deea4406f7f9dd55d22d60c169d3889be7ef802a43507fb8b608c45ecdff52f743c9cb3a4703f1e44cdcf033c4c64b4c993192fe1a39efc9eae78c6fb66ff3e HTML-FormatText-WithLinks-AndTables-0.07.tar.gz"
|