summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 775f0a40be54949d3e5ea18bcd9ba3d3b906a4e8 (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
39
# Maintainer: Guoyi Zhang <guoyizhang at malacology dot net>

_pkgname=GCSscore
_pkgver=1.14.0
pkgname=r-${_pkgname,,}
pkgver=${_pkgver//-/.}
pkgrel=2
pkgdesc="an R package for microarray analysis for Affymetrix/Thermo Fisher arrays"
arch=(any)
url="https://bioconductor.org/packages/$_pkgname"
license=('GPL-3.0-or-later')
depends=(
  r-affxparser
  r-biobase
  r-biocmanager
  r-data.table
  r-devtools
  r-dplr
  r-rsqlite
  r-stringr
)
optdepends=(
  r-geoquery
  r-r.utils
  r-siggenes
)
source=("https://bioconductor.org/packages/3.17/bioc/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
md5sums=('80b3d2f6dfd1ff31fc433b40443e13b0')
b2sums=('0e90d6b87e296ea36889831c7a0c602f9e24a8ee4cd80a2577c60fcdfe10ee4dd8d37a55d90c7970aff3fa2897d832c79a6ce92753023f20a21a48fdfdfffdd2')

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