102.11.0-1
[arch-packages.git] / perl-template-toolkit / trunk / PKGBUILD
blob0b3810debe83af1c807cd0715cf78826252310ea
1 # Maintainer: Felix Yan <felixonmars@archlinux.org>
2 # Contributor: Firmicus <francois.archlinux.org>
3 # Contributor: Tom Killian <tomk@runbox.com>
4 # Contributor: FJ <joostef@gmail.com>
6 pkgname=perl-template-toolkit
7 pkgver=3.101
8 pkgrel=1
9 pkgdesc="Perl template processing system"
10 arch=('x86_64')
11 url="https://search.cpan.org/dist/Template-Toolkit/"
12 license=('PerlArtistic')
13 depends=('perl-appconfig' 'perl')
14 checkdepends=('perl-cgi' 'perl-image-info' 'perl-test-leaktrace')
15 options=('!emptydirs')
16 source=(https://search.cpan.org/CPAN/authors/id/A/AB/ABW/Template-Toolkit-$pkgver.tar.gz)
17 sha512sums=('7e74b1317a7fc113161999c9eeb63bdbee9ed8ff843bd4388039a683976eb71cd4ee2af7fecab639f3be7ef17386a45a6065a4eac6b599b5a0cc2f235d34962f')
19 build() {
20   cd Template-Toolkit-$pkgver
21   perl Makefile.PL INSTALLDIRS=vendor TT_ACCEPT=y
22   make
25 check() {
26   cd Template-Toolkit-$pkgver
27   make test
30 package() {
31   cd Template-Toolkit-$pkgver
32   make install DESTDIR="${pkgdir}"