summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: b0e7afd83de53ae027cf4a94f5cbbd960d46d934 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# Maintainer: Stephen R. Martin <stephensrmmartin at gmail dot com>
_cranname=RInside
_cranver=0.2.14
pkgname=r-cran-rinside
pkgver=${_cranver}
pkgrel=1
pkgdesc="Seamless R and C++ Integration"
url="http://cran.r-project.org/web/packages/${_cranname}/index.html"
arch=('i686' 'x86_64')
license=('GPL2' 'GPL3')
depends=('r' 'r-rcpp')
source=("http://cran.r-project.org/src/contrib/${_cranname}_${_cranver}.tar.gz")
md5sums=('fc72761e22b1f597433eb53d6eb122ff')

package() {
    mkdir -p ${pkgdir}/usr/lib/R/library
    cd ${srcdir}
    R CMD INSTALL ${_cranname} -l ${pkgdir}/usr/lib/R/library
}