OCaml 4.14.0 rebuild
[arch-packages.git] / perl-html-template / repos / extra-any / PKGBUILD
blob360c159adc298541b9f8fcc6b8c5effba5dad245
1 # Maintainer: Felix Yan <felixonmars@archlinux.org>
2 # Contributor: Firmicus <francois.archlinux.org> 
3 # Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>
4 # Contributor: Charles Mauch <cmauch@gmail.com>
6 pkgname=perl-html-template
7 pkgver=2.97
8 pkgrel=8
9 pkgdesc="A simple HTML templating system"
10 arch=('any')
11 url="https://search.cpan.org/dist/HTML-Template"
12 license=("GPL" "PerlArtistic")
13 depends=('perl')
14 checkdepends=('perl-cgi')
15 options=('!emptydirs')
16 source=("https://www.cpan.org/authors/id/S/SA/SAMTREGAR/HTML-Template-$pkgver.tar.gz")
17 sha512sums=('e1cb68db24db1692c0fb3838739798e5716340e3e78260ee95614af5bf29ee100cc86bbd15a2dda3bb98c7f2ecdf0e3ff8ca7775171a44d9ed347d7f9c850783')
19 build() {
20   cd HTML-Template-$pkgver
21   perl Makefile.PL INSTALLDIRS=vendor
22   make
25 check() {
26   cd HTML-Template-$pkgver
27   make test
30 package() {
31   cd HTML-Template-$pkgver
32   make DESTDIR="$pkgdir" install