blob: b477445d5b5178de198fd0b135107896f0b51d35 (
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
27
28
29
|
# Maintainer: Guoyi Zhang <guoyizhang at malacology dot net>
_pkgname=PRIMME
_pkgver=3.2-6
pkgname=r-${_pkgname,,}
pkgver=${_pkgver//-/.}
pkgrel=2
pkgdesc="Eigenvalues and Singular Values and Vectors from Large Matrices"
arch=(x86_64)
url="https://cran.r-project.org/package=$_pkgname"
license=('GPL-3.0-only')
depends=(
blas
lapack
r-rcpp
)
source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
md5sums=('40d882356c99994d559273abf0ce2cf1')
b2sums=('efa6e6d03fecd9afea16fb15226906ce3a2bd6c6f3fccb43c9f5a572287de319cb96f6db617021031ef0b2ef4c1ada1a4491b405a78b51a5665d2b0c72bf5e8d')
build() {
mkdir build
R CMD INSTALL -l build "$_pkgname"
}
package() {
install -d "$pkgdir/usr/lib/R/library"
cp -a --no-preserve=ownership "build/$_pkgname" "$pkgdir/usr/lib/R/library"
}
|