1 # Contributor: Andreas B. Wagner <AndreasBWagner@pointfree.net>
2 pkgname=perl-math-vecstat
5 pkgdesc='Some basic numeric stats on vectors'
7 url='http://search.cpan.org/dist/Math-VecStat/VecStat.pm'
9 depends=('perl>=5.10.0')
17 source=("http://search.cpan.org/CPAN/authors/id/A/AS/ASPINELLI/Math-VecStat-$pkgver.tar.gz")
21 cd "$srcdir/Math-VecStat-$pkgver"
23 # Setting these env variables overwrites any command-line-options we don't want...
24 export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps \
25 PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='$pkgdir'" \
26 PERL_MB_OPT="--installdirs vendor --destdir '$pkgdir'" \
27 MODULEBUILDRC=/dev/null
29 # If using Makefile.PL
30 { /usr/bin/perl Makefile.PL &&
33 make install; } || return 1
35 # remove perllocal.pod and .packlist
36 find "$pkgdir" -name .packlist -o -name perllocal.pod -delete
38 # vim:set ts=2 sw=2 et:
39 md5sums=('3df23fb451f73bb49fd4ea344ba94020')