diff options
author | Britney Fransen <brfransen@gmail.com> | 2018-05-30 20:42:24 (GMT) |
---|---|---|
committer | Britney Fransen <brfransen@gmail.com> | 2018-05-30 20:42:24 (GMT) |
commit | 090acaaaabd3388f158a680e39ae141d279e1318 (patch) | |
tree | 45d9b08cf404e529eaf5ff70f3a3a01837c99326 /abs | |
parent | 10fa21f4e0b540f7f9e27da3334d57ddc682a175 (diff) | |
download | linhes_pkgbuild-090acaaaabd3388f158a680e39ae141d279e1318.zip linhes_pkgbuild-090acaaaabd3388f158a680e39ae141d279e1318.tar.gz linhes_pkgbuild-090acaaaabd3388f158a680e39ae141d279e1318.tar.bz2 |
perl-html-template: updaet to 2.97
Diffstat (limited to 'abs')
-rw-r--r-- | abs/core/perl_modules/perl-html-template/PKGBUILD | 30 |
1 files 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 <francois.archlinux.org> +# $Id$ +# Maintainer: Felix Yan <felixonmars@archlinux.org> +# Contributor: Firmicus <francois.archlinux.org> # Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com> # Contributor: Charles Mauch <cmauch@gmail.com> 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') |