updated on Thu Jan 19 12:17:07 UTC 2012
[aur-mirror.git] / perl-log-dispatchouli / PKGBUILD
blobcee6d6288b06ee4a26b46db6b227f53845225cef
1 # CPAN Name  : Log-Dispatchouli
2 # Contributor: Caleb Cushing <xenoterracide@gmail.com>
3 # Generator  : CPANPLUS::Dist::Arch 0.20
4 pkgname='perl-log-dispatchouli'
5 pkgver='1.100712'
6 pkgrel='1'
7 pkgdesc="a simple wrapper around Log::Dispatch"
8 arch=('any')
9 license=('PerlArtistic' 'GPL')
10 options=('!emptydirs')
11 depends=('perl' 'perl-log-dispatch' 'perl-log-dispatch-array' 'perl-params-util' 'perl-string-flogger' 'perl-test-deep' 'perl-try-tiny>=0.04')
13 url='http://search.cpan.org/dist/Log-Dispatchouli'
15 source=('http://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/Log-Dispatchouli-1.100712.tar.gz')
16 md5sums=('9966cd95880556ea2e8de83098dda093')
18 build() {
19   DIST_DIR="${srcdir}/Log-Dispatchouli-1.100712"
20   export PERL_MM_USE_DEFAULT=1
21   {
22         cd "$DIST_DIR" &&
23     perl Makefile.PL INSTALLDIRS=vendor &&
24     make &&
25     make test &&
26     make DESTDIR="$pkgdir" install;
27   } || return 1;
29   find "$pkgdir" -name .packlist -o -name perllocal.pod -delete