summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 80f9205ed0e3e8a91a5c1605535da73e7591d870 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# Maintainer: Sauliusl <luksaulius[at]gmail>
pkgname=perl-math-cdf
pkgver=0.1
pkgrel=1
pkgdesc="Generate probabilities and quantiles from several statistical probability functions"
url="http://search.cpan.org/~callahan/Math-CDF-0.1/CDF.pm"
arch=('x86_64' 'i686')
license=('GPL' 'PerlArtistic')
depends=('perl')
optdepends=()
makedepends=()
conflicts=()
replaces=()
backup=()
install=()
source=("http://search.cpan.org/CPAN/authors/id/C/CA/CALLAHAN/Math-CDF-0.1.tar.gz")
sha1sums=('b0c027f9ebf5fca55c7acac8e1c832eae83c9263')


build() {
	cd ${srcdir}/Math-CDF-${pkgver}/
	unset PERL5LIB PERL_MM_OPT PERL_LOCAL_LIB_ROOT
	perl Makefile.PL PERL_AUTOINSTALL=--skipdeps
	make
}

check() (
  cd ${srcdir}/Math-CDF-${pkgver}/
  unset PERL5LIB PERL_MM_OPT PERL_LOCAL_LIB_ROOT
  export PERL_MM_USE_DEFAULT=1
  make test
)


package() {
  cd ${srcdir}/Math-CDF-${pkgver}/
  unset PERL5LIB PERL_MM_OPT PERL_LOCAL_LIB_ROOT
  make install INSTALLDIRS=vendor DESTDIR="$pkgdir"
}

# vim:set ts=2 sw=2 et: