From 090acaaaabd3388f158a680e39ae141d279e1318 Mon Sep 17 00:00:00 2001 From: Britney Fransen Date: Wed, 30 May 2018 20:42:24 +0000 Subject: perl-html-template: updaet to 2.97 --- abs/core/perl_modules/perl-html-template/PKGBUILD | 30 +++++++++++++---------- 1 file changed, 17 insertions(+), 13 deletions(-) diff --git a/abs/core/perl_modules/perl-html-template/PKGBUILD b/abs/core/perl_modules/perl-html-template/PKGBUILD index ee70580..ffe3cb0 100644 --- a/abs/core/perl_modules/perl-html-template/PKGBUILD +++ b/abs/core/perl_modules/perl-html-template/PKGBUILD @@ -1,30 +1,34 @@ -# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $ -# Maintainer: Firmicus +# $Id$ +# Maintainer: Felix Yan +# Contributor: Firmicus # Contributor: Sergej Pupykin # Contributor: Charles Mauch pkgname=perl-html-template -_cpanname=HTML-Template -pkgver=2.91 -pkgrel=1 +pkgver=2.97 +pkgrel=2 pkgdesc="A simple HTML templating system" arch=('any') url="http://search.cpan.org/dist/HTML-Template" license=("GPL" "PerlArtistic") depends=('perl') +checkdepends=('perl-cgi') options=('!emptydirs') -source=("http://www.cpan.org/authors/id/W/WO/WONKO/${_cpanname}-${pkgver}.tar.gz") +source=("http://www.cpan.org/authors/id/S/SA/SAMTREGAR/HTML-Template-$pkgver.tar.gz") +sha512sums=('e1cb68db24db1692c0fb3838739798e5716340e3e78260ee95614af5bf29ee100cc86bbd15a2dda3bb98c7f2ecdf0e3ff8ca7775171a44d9ed347d7f9c850783') build() { - cd "${srcdir}/${_cpanname}-${pkgver}" - PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + cd HTML-Template-$pkgver + perl Makefile.PL INSTALLDIRS=vendor make } +check() { + cd HTML-Template-$pkgver + make test +} + package() { - cd "${srcdir}/${_cpanname}-${pkgver}" - make install DESTDIR="${pkgdir}" - find "${pkgdir}" -name '.packlist' -delete - find "${pkgdir}" -name '*.pod' -delete + cd HTML-Template-$pkgver + make DESTDIR="$pkgdir" install } -md5sums=('bb43b4bef739a705ef859c4e21e6194c') -- cgit v0.12