updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / perl-thread-pool / PKGBUILD
blob7a3135aa881d2e20e8716209ea6a5d36e34d5f81
1 # Contributor: Anonymous
2 # Generator  : CPANPLUS::Dist::Arch 0.14
3 pkgname='perl-thread-pool'
4 pkgver='0.33'
5 pkgrel='1'
6 pkgdesc="Worker pools to run Perl code asynchronously"
7 arch=('i686' 'x86_64')
8 license=('PerlArtistic' 'GPL')
9 options=('!emptydirs')
10 depends=('perl' 'perl-thread-conveyor>=0.15' 'perl-thread-conveyor-monitored>=0.11')
11 url='http://search.cpan.org/dist/Thread-Pool'
12 source=('http://search.cpan.org/CPAN/authors/id/E/EL/ELIZABETH/Thread-Pool-0.33.tar.gz')
13 md5sums=('4e1b093179552283260ab4722b468248')
15 build() {
16   _DISTDIR="${srcdir}/Thread-Pool-0.33"
17   export PERL_MM_USE_DEFAULT=1
18   { cd "$_DISTDIR" &&
19     perl Makefile.PL INSTALLDIRS=vendor &&
20     make &&
21     make test &&
22     make DESTDIR="${pkgdir}/" install;
23   } || return 1;
25   find "$pkgdir" -name .packlist -delete
26   find "$pkgdir" -name perllocal.pod -delete