updated on Tue Jan 10 12:02:00 UTC 2012
[aur-mirror.git] / perl-number-format / PKGBUILD
blob680fba775e2c37dd4ad91adbadbf662a0e76a2df
1 # Contributor: Caleb Cushing <xenoterracide@gmail.com>
2 # Generator  : CPANPLUS::Dist::Arch 0.16
3 pkgname='perl-number-format'
4 pkgver='1.73'
5 pkgrel='1'
6 pkgdesc="Package for formatting numbers for display"
7 arch=('i686' 'x86_64')
8 license=('PerlArtistic' 'GPL')
9 options=('!emptydirs')
10 depends=('perl')
11 url='http://search.cpan.org/dist/Number-Format'
12 source=('http://search.cpan.org/CPAN/authors/id/W/WR/WRW/Number-Format-1.73.tar.gz')
13 md5sums=('3a4188de6e84b04361def285b93dc240')
15 build() {
16   _DISTDIR="${srcdir}/Number-Format-1.73"
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 -o -name perllocal.pod -delete