summaryrefslogtreecommitdiffstats
path: root/abs/core/perl_modules/perl-html-template
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2011-10-30 02:00:42 (GMT)
committerJames Meyer <james.meyer@operamail.com>2011-10-30 02:00:42 (GMT)
commit634cea5bcd7fd9a23b303a5ad955310ed6218972 (patch)
treef791ffa5cc328229e145f11a84dec13ca5175ccd /abs/core/perl_modules/perl-html-template
parente59f5d61cd2d6660fe52125f13618b5a1e896ce1 (diff)
downloadlinhes_pkgbuild-634cea5bcd7fd9a23b303a5ad955310ed6218972.zip
linhes_pkgbuild-634cea5bcd7fd9a23b303a5ad955310ed6218972.tar.gz
linhes_pkgbuild-634cea5bcd7fd9a23b303a5ad955310ed6218972.tar.bz2
perl-html-template: added for mythexport
Diffstat (limited to 'abs/core/perl_modules/perl-html-template')
-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
+}