blob: 1feee9f9d145e4e25692b4b70e188e48e560b104 (
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
|
# Maintainer: Guoyi Zhang <guoyizhang at malacology dot net>
_pkgname=ggspavis
_pkgver=1.12.0
pkgname=r-${_pkgname,,}
pkgver=${_pkgver//-/.}
pkgrel=1
pkgdesc="Visualization functions for spatial transcriptomics data"
arch=(any)
url="https://bioconductor.org/packages/$_pkgname"
license=('MIT')
depends=(
r-ggplot2
r-ggrepel
r-ggside
r-rcolorbrewer
r-scales
r-singlecellexperiment
r-spatialexperiment
r-summarizedexperiment
)
optdepends=(
r-biocstyle
r-bumpymatrix
r-knitr
r-patchwork
r-rmarkdown
r-scater
r-scran
r-stexampledata
r-testthat
r-uwot
)
source=("https://bioconductor.org/packages/release/bioc/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
md5sums=('625803fb55152e66fda4a8491a6edcbe')
b2sums=('9f8b2f798cb8a70685a2865ed7047e26759718d8a5d4033cc16c9eb3cb8e8a6a9515e91e850961f08e0a9fbb2141906e4cfdd99cb52fd24cec5d573b4d299cf2')
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"
}
|