updated on Tue Jan 10 04:01:21 UTC 2012
[aur-mirror.git] / perl-template-timer / PKGBUILD
blobc6c410585c067722571737ea25c0825914da2f30
1 # CPAN Name  : Template-Timer
2 # Contributor: Caleb Cushing <xenoterracide@gmail.com>
3 # Generator  : CPANPLUS::Dist::Arch 0.20
4 # Template @ http://github.com/xenoterracide/AURpan/blob/master/perl-template-timer/PKGBUILD.tt
5 # File bugs @ http://github.com/xenoterracide/AURpan/issues
7 pkgname='perl-template-timer'
8 pkgver='1.00'
9 pkgrel='2'
10 pkgdesc="Rudimentary profiling for Template Toolkit"
11 arch=('any')
12 url='http://search.cpan.org/dist/Template-Timer'
13 license=('PerlArtistic' 'GPL')
14 depends=('perl' 'perl-template-toolkit')
16 options=('!emptydirs')
18 source=('http://search.cpan.org/CPAN/authors/id/P/PE/PETDANCE/Template-Timer-1.00.tar.gz')
19 md5sums=('b7d488e5a1fd4f8171c5f81183921dc2')
21 build() {
22   DIST_DIR="${srcdir}/Template-Timer-1.00"
23   export PERL_MM_USE_DEFAULT=1
24   {
25         cd "$DIST_DIR" &&
26     perl Makefile.PL INSTALLDIRS=vendor &&
27     make &&
28     make test &&
29     make DESTDIR="$pkgdir" install;
30   } || return 1;
32   find "$pkgdir" -name .packlist -o -name perllocal.pod -delete