From 634cea5bcd7fd9a23b303a5ad955310ed6218972 Mon Sep 17 00:00:00 2001 From: James Meyer Date: Sat, 29 Oct 2011 21:00:42 -0500 Subject: perl-html-template: added for mythexport --- abs/core/perl_modules/perl-html-template/PKGBUILD | 30 +++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 abs/core/perl_modules/perl-html-template/PKGBUILD 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 +# Contributor: Sergej Pupykin +# Contributor: Charles Mauch + +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 +} -- cgit v0.12