summaryrefslogtreecommitdiffstats
path: root/abs
diff options
context:
space:
mode:
Diffstat (limited to 'abs')
-rw-r--r--abs/core/perl_modules/perl-html-template/PKGBUILD30
1 files changed, 30 insertions, 0 deletions
diff --git a/abs/core/perl_modules/perl-html-template/PKGBUILD b/abs/core/perl_modules/perl-html-template/PKGBUILD
new file mode 100644
index 0000000..68365e6
--- /dev/null
+++ b/abs/core/perl_modules/perl-html-template/PKGBUILD
@@ -0,0 +1,30 @@
+# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
+# Maintainer: 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.10
+pkgrel=2
+pkgdesc="A simple HTML templating system"
+arch=('any')
+url="http://search.cpan.org/dist/HTML-Template"
+license=("GPL" "PerlArtistic")
+depends=('perl')
+options=('!emptydirs')
+source=("http://www.cpan.org/authors/id/W/WO/WONKO/${_cpanname}-${pkgver}.tar.gz")
+md5sums=('49537aa239ab090698b9e1a0b0be7412')
+
+build() {
+ cd "${srcdir}/${_cpanname}-${pkgver}"
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+ make
+}
+
+package() {
+ cd "${srcdir}/${_cpanname}-${pkgver}"
+ make install DESTDIR="${pkgdir}"
+ find "${pkgdir}" -name '.packlist' -delete
+ find "${pkgdir}" -name '*.pod' -delete
+}