blob: a84c33f39123c9f608c370aee82e4fce2557e3db (
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.004
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="3513203f4f291d120671f39630c6274e9dc8bdc94cec92347691fb4a973d937002716c6d7c6265f93577ea9d80bc97f7bab5d4c43d28705f4ab411ac0e942411 Template-Toolkit-3.004.tar.gz"
|