blob: f2bcddadb6809ee43ebab209581fde084d1ed3e4 (
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
|
# Automatically generated by apkbuild-cpan, template 1
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=perl-template-toolkit
_pkgreal=Template-Toolkit
pkgver=3.007
pkgrel=0
pkgdesc="comprehensive template processing system"
url="https://metacpan.org/release/Template-Toolkit"
arch="all"
license="GPL-1.0-or-later OR Artistic-1.0-Perl"
cpandepends="perl-appconfig"
depends="$cpandepends"
makedepends="perl-dev"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/A/AT/ATOOMIC/Template-Toolkit-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver"
prepare() {
default_prepare
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
}
build() {
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
make
}
check() {
make test
}
package() {
make DESTDIR="$pkgdir" install
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
sha512sums="e5fb5cba935541cb7518bca21aebf932105ad94918290202deed10505269039b9c8cbf432b03c5ce51a434dd74fb80e6c5a32af8c727a92ad46410101c959f74 Template-Toolkit-3.007.tar.gz"
|