updated on Sat Jan 14 00:11:12 UTC 2012
[aur-mirror.git] / perl-statistics-descriptive / PKGBUILD
blobe35ef2c419b8354476c72dbff2ad26cf7e1faf7d
1 # CPAN Name  : Statistics-Descriptive
2 # Maintainer : Jason St. John <jstjohn .. purdue . edu>
3 # Contributor: Anonymous
5 pkgname='perl-statistics-descriptive'
6 pkgver='3.0203'
7 pkgrel='1'
8 pkgdesc="Statistics::Descriptive - Module of basic descriptive statistical functions."
9 arch=('any')
10 license=('PerlArtistic' 'GPL')
11 options=('!emptydirs')
12 depends=('perl')
13 makedepends=('perl-test-pod-coverage')
14 url='http://search.cpan.org/dist/Statistics-Descriptive'
15 source=("http://search.cpan.org/CPAN/authors/id/S/SH/SHLOMIF/Statistics-Descriptive-$pkgver.tar.gz")
16 sha512sums=('3d7d6a78c8b64b3caf83551523a3837310df4d815e2bf2822acebbdf40ceb499db10392e4183ee9e5939becc95ae9f962b56cbede9362460b4fc3d1172ce21bc')
18 build() {
19   PERL=/usr/bin/perl
20   DIST_DIR="${srcdir}/Statistics-Descriptive-$pkgver"
21   export PERL_MM_USE_DEFAULT=1 PERL5LIB=""                 \
22     PERL_AUTOINSTALL=--skipdeps                            \
23     PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='$pkgdir'"     \
24     PERL_MB_OPT="--installdirs vendor --destdir '$pkgdir'" \
25     MODULEBUILDRC=/dev/null
27   cd "$DIST_DIR"
28   $PERL Makefile.PL
29   make
30   make test
31   make install
32   find "$pkgdir" -name .packlist -o -name perllocal.pod -delete
35 # vim:set ts=2 sw=2 et: