summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: f3b1581148cacab716d5d3d4b4ebaf390d7e1a2c (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
# Maintainer: Alex Branham <branham@utexas.edu>
_cranname=inline
_cranver=0.3.15
_pkgtar=${_cranname}_${_cranver}.tar.gz
pkgname=r-inline
pkgver=${_cranver//[:-]/.}
pkgrel=1
pkgdesc="Functions to Inline C, C++, Fortran Function Calls from R"
arch=('any')
url="https://cran.r-project.org/web/packages/${_cranname}/index.html"
license=('LGPL')
depends=('r' 'gcc-fortran' )



source=("https://cran.r-project.org/src/contrib/${_pkgtar}")
md5sums=('8f0de494120ecd628fa7a2e6d4af98cb')

build(){
    R CMD INSTALL ${_pkgtar} -l $srcdir
}
package() {
    install -d "$pkgdir/usr/lib/R/library"
    cp -r "$srcdir/$_cranname" "$pkgdir/usr/lib/R/library"
}