summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: e95053a2f64e97512a02f9d52f37a7c50e69402c (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
# Maintainer: frichtlm <frichtlm@gmail.com>
_cranname=mnormt
_cranver=1.5-6
pkgname=r-$_cranname
pkgver=1.5_6
pkgrel=1
pkgdesc="The multivariate Normal and T distributions."
url="https://cran.r-project.org/package=${_cranname}"
arch=('i686' 'x86_64')
license=('GPL-2' 'GPL-3')
depends=('r>=2.2.0')
makedepends=('gcc-fortran')
source=("http://cran.r-project.org/src/contrib/${_cranname}_${_cranver}.tar.gz")
md5sums=('baf4a66a61ab3193c81a130e202cba8d')

build() {
    cd "${srcdir}"
    R CMD INSTALL ${_cranname}_${_cranver}.tar.gz -l $srcdir
}

package() {
    cd "${srcdr}"
    install -dm0755 "$pkgdir/usr/lib/R/library"
    cp -a --no-preserve=ownership "$_cranname" "$pkgdir/usr/lib/R/library"
}