summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 47e99692f7f1968375ee0f2b135bc8afa2137bc6 (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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
# Maintainer: Guoyi Zhang <guoyizhang at malacology dot net>

_pkgname=scRepertoire
_pkgver=2.2.1
pkgname=r-${_pkgname,,}
pkgver=${_pkgver//-/.}
pkgrel=1
pkgdesc="A toolkit for single-cell immune receptor profiling"
arch=(x86_64)
url="https://bioconductor.org/packages/$_pkgname"
license=('MIT')
depends=(
  r-cubature
  r-dplyr
  r-evmix
  r-ggalluvial
  r-ggdendro
  r-ggplot2
  r-ggraph
  r-hash
  r-igraph
  r-inext
  r-plyr
  r-quantreg
  r-rcpp
  r-reshape2
  r-rjson
  r-rlang
  r-s4vectors
  r-seuratobject
  r-singlecellexperiment
  r-stringdist
  r-stringr
  r-summarizedexperiment
  r-tidygraph
  r-truncdist
  r-vgam
  r-lifecycle
  r-purrr
  r-assertthat
)
optdepends=(
  r-biocmanager
  r-biocstyle
  r-circlize
  r-knitr
  r-rmarkdown
  r-scales
  r-scater
  r-seurat
  r-spelling
  r-testthat
  r-vdiffr
)
source=("https://bioconductor.org/packages/release/bioc/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
md5sums=('6499720e8ba9e80e3472a9b575ffbabd')
b2sums=('98eea08d458ebe8b5ca4fde1f830e4c53f9b9f1ce5a66ffb3c05eab6f16dc9e154c63285f38aa3ac8902f721d191dffc0a71f4ab2f5df745f022e524d80135e2')

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"

  install -d "$pkgdir/usr/share/licenses/$pkgname"
  ln -s "/usr/lib/R/library/$_pkgname/LICENSE" "$pkgdir/usr/share/licenses/$pkgname"
}