blob: d8989b110b2d25e56634193c5ebdb12a05919df0 (
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
42
43
|
# 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.02
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=""
cpanmakedepends=""
depends="$cpandepends perl-html-formattext-withlinks"
makedepends="perl-dev $cpanmakedepends"
subpackages="$pkgname-doc"
source="http://search.cpan.org/CPAN/authors/id/S/SF/SFRYER/$_pkgreal-$pkgver.tar.gz"
_builddir="$srcdir/$_pkgreal"
prepare() {
cd "$_builddir"
return 0
}
build() {
cd "$_builddir"
if [ -e Build.PL ]; then
perl Build.PL installdirs=vendor || return 1
else
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
fi
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install UNINST=1
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
md5sums="804146aa9e49a5b1af4f63fecd9b0c28 HTML-FormatText-WithLinks-AndTables-0.02.tar.gz"
sha256sums="4e97159a8b8ab5ea0c417da2931221124dc0e1221a3307b270891d6f21852224 HTML-FormatText-WithLinks-AndTables-0.02.tar.gz"
sha512sums="905bb42cbdf9591418dcf738ee1aaa6b6e1d56c47aaf8c4194bb17b43745cc6d82a4eb65d74ad8c95531940ad67c539329b327d5385f88e80f0a879a6e10bba2 HTML-FormatText-WithLinks-AndTables-0.02.tar.gz"
|