summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--abs/core/perl_modules/perl-html-template/PKGBUILD30
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')