summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: c4082fef95a18c849d01e303bb980c4761397428 (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
30
31
32
33
34
35
36
37
38
# Maintainer: Guoyi Zhang <guoyizhang at malacology dot net>

_pkgname=jackstraw
_pkgver=1.3.17
pkgname=r-${_pkgname,,}
pkgver=${_pkgver//-/.}
pkgrel=1
pkgdesc="Statistical Inference for Unsupervised Learning"
arch=(any)
url="https://cran.r-project.org/package=$_pkgname"
license=('GPL-2.0-only')
depends=(
  r-bedmatrix
  r-clusterr
  r-corpcor
  r-genio
  r-irlba
  r-rsvd
)
optdepends=(
  r-gcatest
  r-lfa
  r-qvalue
  r-testthat
)
source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
md5sums=('d79f90e86983a1874a49ab228a1c11f8')
b2sums=('9256169d7e93a162db51420f3790df0bb8afbdb7f72feee8602f87f47fdeed9acbbb9f4f67cc1aced7d172961286869cea046814235f843a4a85f3573bb6dcc6')

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"
}