updated on Wed Jan 11 08:01:35 UTC 2012
[aur-mirror.git] / perl-math-gsl / PKGBUILD
blob1b41786b9a9cad1147ece880a50e4898d0caa1e1
1 # CPAN Name  : Math::GSL
2 # Contributor: Anton Leontiev <bunder /at/ t-25.ru>
3 # Generator  : CPANPLUS::Dist::Arch 1.18
5 pkgname=perl-math-gsl
6 pkgver=0.26
7 pkgrel=1
8 pkgdesc="Perl module providing interface to the GNU Scientific Library using SWIG"
9 arch=("i686" "x86_64")
10 url="http://search.cpan.org/dist/Math-GSL"
11 license=("GPL")
12 options=(!emptydirs)
13 depends=("perl" "gsl")
14 makedepends=("perl-extutils-pkgconfig")
15 checkdepends=("perl-test-exception" "perl-test-class" "perl-test-most")
16 source=(http://search.cpan.org/CPAN/authors/id/L/LE/LETO/Math-GSL-0.26.tar.gz)
17 md5sums=("ae31dc759c620ed0b2098a4d617d0e08")
19 build() {
20   cd "$srcdir/Math-GSL-0.26"
21   PERL_MM_USE_DEFAULT=1 perl Build.PL --installdirs vendor --destdir "$pkgdir"
22   perl Build
25 check() {
26   cd "$srcdir/Math-GSL-0.26"
27   perl Build test
30 package() {
31   cd "$srcdir/Math-GSL-0.26"
32   perl Build install
33   find "$pkgdir" -name .packlist -o -name perllocal.pod -delete