1 # Contributor: Christian Sturm <reezer@reezer.org>
2 pkgname=perl-template-tiny
5 pkgdesc="Template Toolkit reimplemented in as little code as possible"
7 url="http://search.cpan.org/dist/Template-Tiny/"
8 license=('GPL' 'PerlArtistic')
9 depends=('perl>=5.10.0')
12 source=(http://search.cpan.org/CPAN/authors/id/A/AD/ADAMK/Template-Tiny-$pkgver.tar.gz)
13 md5sums=('166662a3d24c1c5f995c2ffc26e0eb36')
16 cd "$srcdir/Template-Tiny-$pkgver"
18 # install module in vendor directories.
19 PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
21 make install DESTDIR="$pkgdir/" || return 1
23 # remove perllocal.pod and .packlist
24 find "$pkgdir" -name perllocal.pod -delete
25 find "$pkgdir" -name .packlist -delete
28 # vim:set ts=2 sw=2 et: