updated on Sat Jan 14 12:12:45 UTC 2012
[aur-mirror.git] / r-cran-mvtnorm / PKGBUILD
blobcb0075037d9c6609d682dcbcf0af61ce1fb33734
1 # Maintainer: Oleg Smirnov <oleg.smirnov@gmail.com>
2 pkgname=r-cran-mvtnorm
3 pkgver=0.9_96
4 pkgrel=1
5 pkgdesc="Multivariate Normal and t Distributions"
6 url="http://cran.r-project.org/web/packages/mvtnorm/index.html"
7 license=('GPL-2')
8 arch=('i686' 'x86_64')
9 makedepends=('gcc' 'gcc-fortran')
10 depends=('r' )
11 optdepends=()
12 source=(http://cran.r-project.org/src/contrib/mvtnorm_0.9-96.tar.gz)
13 build() {
14     mkdir -p ${pkgdir}/usr/lib/R/library
15     cd ${srcdir}
16     R CMD INSTALL mvtnorm -l ${pkgdir}/usr/lib/R/library
17     rm -f ${pkgdir}/usr/lib/R/library/R.css
18     for lic in "LICENSE" "LICENCE" "COPYING"; do
19         if [ -f ${srcdir}/mvtnorm/${lic} ]; then
20             install -Dm644 ${srcdir}/mvtnorm/${lic} ${pkgdir}/usr/share/licenses/r-cran-mvtnorm/${lic}
21         fi
22     done
24 md5sums=('e0d84d87fda6f3c722c8d896eebd5ab7')