diff options
author | Viktor Drobot | 2020-03-10 00:40:02 +0300 |
---|---|---|
committer | Viktor Drobot | 2020-03-10 00:40:02 +0300 |
commit | d2d9dd881ad27189d903b56f7550f2bb970b8ce7 (patch) | |
tree | a18df47b42caa8319cffa4d20bddd1b1611747b9 | |
parent | 055d571ee55967f8d9ac689ed1be8d76fba177d6 (diff) | |
download | aur-d2d9dd881ad27189d903b56f7550f2bb970b8ce7.tar.gz |
Fixed PKGBUILD
-rw-r--r-- | .SRCINFO | 13 | ||||
-rw-r--r-- | PKGBUILD | 34 |
2 files changed, 27 insertions, 20 deletions
@@ -1,20 +1,21 @@ pkgbase = r-rcppeigen - pkgdesc = Rcpp Integration for the Eigen Templated Linear Algebra Library - pkgver = 0.3.3.5.0 + pkgdesc = 'Rcpp' Integration for the 'Eigen' Templated Linear Algebra Library + pkgver = 0.3.3.7.0 pkgrel = 1 url = https://cran.r-project.org/package=RcppEigen + arch = i686 arch = x86_64 license = GPL2 license = GPL3 - license = custom + makedepends = gcc depends = r>=2.15.1 depends = r-rcpp>=0.11.0 optdepends = r-inline - optdepends = r-runit + optdepends = r-tinytest optdepends = r-pkgkitten optdepends = r-microbenchmark - source = https://cran.r-project.org/src/contrib/RcppEigen_0.3.3.5.0.tar.gz - md5sums = 9ec372cea453794167b0b2773387714f + source = https://cran.r-project.org/src/contrib/RcppEigen_0.3.3.7.0.tar.gz + md5sums = 320a9f8f17c9043b543e1601dc574ac7 pkgname = r-rcppeigen @@ -1,25 +1,31 @@ -# Maintainer: Taekyung Kim <Taekyung.Kim.Maths@gmail.com> +# Maintainer: Viktor Drobot (aka dviktor) linux776 [at] gmail [dot] com +# Contributor: Taekyung Kim <Taekyung.Kim.Maths@gmail.com> # Contributor: Alex Branham <branham@utexas.edu> _cranname=RcppEigen -_cranver=0.3.3.5.0 -_pkgtar=${_cranname}_${_cranver}.tar.gz -pkgname=r-rcppeigen +_cranver=0.3.3.7.0 +pkgname=r-${_cranname,,} pkgver=${_cranver//[:-]/.} pkgrel=1 -pkgdesc="Rcpp Integration for the Eigen Templated Linear Algebra Library" -arch=('x86_64') +pkgdesc="'Rcpp' Integration for the 'Eigen' Templated Linear Algebra Library" +arch=(i686 x86_64) url="https://cran.r-project.org/package=${_cranname}" -license=('GPL2' 'GPL3' 'custom') +license=(GPL2 GPL3) depends=('r>=2.15.1' 'r-rcpp>=0.11.0') -optdepends=('r-inline' 'r-runit' 'r-pkgkitten' 'r-microbenchmark') -source=("https://cran.r-project.org/src/contrib/${_pkgtar}") -md5sums=('9ec372cea453794167b0b2773387714f') +makedepends=(gcc) +optdepends=(r-inline r-tinytest r-pkgkitten r-microbenchmark) +source=("https://cran.r-project.org/src/contrib/${_cranname}_${_cranver}.tar.gz") +md5sums=('320a9f8f17c9043b543e1601dc574ac7') -build(){ - R CMD INSTALL "${_pkgtar}" -l "$srcdir" +build() { + cd "${srcdir}" + + R CMD INSTALL ${_cranname}_${_cranver}.tar.gz -l ${srcdir} } + package() { - install -dm0755 "$pkgdir"/usr/lib/R/library - cp -a --no-preserve=ownership "$_cranname" "$pkgdir"/usr/lib/R/library + cd "${srcdir}" + + install -dm0755 "${pkgdir}/usr/lib/R/library" + cp -a --no-preserve=ownership "${_cranname}" "${pkgdir}/usr/lib/R/library" } |