summaryrefslogtreecommitdiff
path: root/user/perl-template-toolkit/APKBUILD
blob: bc3a7f733f897d6d20436b11602c2dc4ba476838 (plain) (blame)
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
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
pkgname=perl-template-toolkit
pkgver=2.29
pkgrel=0
pkgdesc="Comprehensive template processing system"
url="https://metacpan.org/release/Template-Toolkit"
arch="all"
license="Artistic-1.0-Perl"
depends="perl-appconfig"
makedepends="perl-dev"
checkdepends="perl-cgi perl-test-leaktrace"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/A/AT/ATOOMIC/Template-Toolkit-$pkgver.tar.gz"
builddir="$srcdir/Template-Toolkit-$pkgver"

build() {
	PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
	make
}

check() {
	make test
}

package() {
	make DESTDIR="$pkgdir" install
	find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}

sha512sums="5b1bfeaf600a5628b6441e54de5c4af1cf4e01296792a79290d4bf2a698be47112e94a05fe3f47bf9ac64c4d8b9340aa6ef8738560fb1f96510d7d1c9f647a65  Template-Toolkit-2.29.tar.gz"