You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

33 lines
969 B

# Maintainer: Felix Yan <felixonmars@archlinux.org>
# Contributor: Firmicus <francois.archlinux.org>
# Contributor: Tom Killian <tomk@runbox.com>
# Contributor: FJ <joostef@gmail.com>
pkgname=perl-template-toolkit
pkgver=3.010
pkgrel=1
pkgdesc="Perl template processing system"
arch=('x86_64')
url="https://search.cpan.org/dist/Template-Toolkit/"
license=('PerlArtistic')
depends=('perl-appconfig' 'perl')
checkdepends=('perl-cgi' 'perl-image-info' 'perl-test-leaktrace')
options=('!emptydirs')
source=(https://search.cpan.org/CPAN/authors/id/A/AT/ATOOMIC/Template-Toolkit-$pkgver.tar.gz)
sha512sums=('9f6215eebe4151f93c0b83a49bc75fc6b2f00fff31729df9358b5bfd872e7a98207d146f4c1cb384a8cab002896b44cf09803a9049f9c8db0354b1d553c67452')
build() {
cd Template-Toolkit-$pkgver
perl Makefile.PL INSTALLDIRS=vendor TT_ACCEPT=y
make
}
check() {
cd Template-Toolkit-$pkgver
make test
}
package() {
cd Template-Toolkit-$pkgver
make install DESTDIR="${pkgdir}"
}