updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / perl-thread-tie / PKGBUILD
blobc60eb56fe0bb4e2160427290fe52edf2d14a14d5
1 # Contributor: Anonymous
2 # Generator  : CPANPLUS::Dist::Arch 0.14
3 pkgname='perl-thread-tie'
4 pkgver='0.13'
5 pkgrel='1'
6 pkgdesc="tie variables into a thread of their own"
7 arch=('i686' 'x86_64')
8 license=('PerlArtistic' 'GPL')
9 options=('!emptydirs')
10 depends=('perl' 'perl-load>=0.11' 'perl-thread-serialize>=0.07')
11 url='http://search.cpan.org/dist/Thread-Tie'
12 source=('http://search.cpan.org/CPAN/authors/id/E/EL/ELIZABETH/Thread-Tie-0.13.tar.gz')
13 md5sums=('33ac1330b19d3cbf035b5d6b1c40c735')
15 build() {
16   _DISTDIR="${srcdir}/Thread-Tie-0.13"
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