diff options
author | Viktor Drobot | 2020-03-09 03:22:35 +0300 |
---|---|---|
committer | Viktor Drobot | 2020-03-09 03:22:35 +0300 |
commit | 1748447995f0e4cdc9e3c8f7a6242827236b332f (patch) | |
tree | fc4d28c3b9add84163741a6d4b4a599d39af0c02 | |
download | aur-1748447995f0e4cdc9e3c8f7a6242827236b332f.tar.gz |
Initial release
-rw-r--r-- | .SRCINFO | 17 | ||||
-rw-r--r-- | PKGBUILD | 28 |
2 files changed, 45 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..a7a01417debc --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,17 @@ +pkgbase = r-rinside + pkgdesc = C++ Classes to Embed R in C++ Applications + pkgver = 0.2.15 + pkgrel = 1 + url = https://cran.r-project.org/package=RInside + arch = i686 + arch = x86_64 + license = GPL2 + license = GPL3 + makedepends = gcc + depends = r>=2.10.0 + depends = r-rcpp>=0.11.0 + source = https://cran.r-project.org/src/contrib/RInside_0.2.15.tar.gz + md5sums = 3b8c13dc53c6958c1f82c0a25dd6c211 + +pkgname = r-rinside + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..f58c42e1415f --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,28 @@ +# Maintainer: Viktor Drobot (aka dviktor) linux776 [at] gmail [dot] com + +_cranname=RInside +_cranver=0.2.15 +pkgname=r-${_cranname,,} +pkgver=${_cranver//[:-]/.} +pkgrel=1 +pkgdesc="C++ Classes to Embed R in C++ Applications" +arch=(i686 x86_64) +url="https://cran.r-project.org/package=${_cranname}" +license=(GPL2 GPL3) +depends=('r>=2.10.0' 'r-rcpp>=0.11.0') +makedepends=(gcc) +source=("https://cran.r-project.org/src/contrib/${_cranname}_${_cranver}.tar.gz") +md5sums=('3b8c13dc53c6958c1f82c0a25dd6c211') + +build() { + cd "${srcdir}" + + R CMD INSTALL ${_cranname}_${_cranver}.tar.gz -l ${srcdir} +} + +package() { + cd "${srcdir}" + + install -dm0755 "${pkgdir}/usr/lib/R/library" + cp -a --no-preserve=ownership "${_cranname}" "${pkgdir}/usr/lib/R/library" +} |