blob: 7cd18d59a1c52f9fe09f22a237055b0f391fb898 (
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.10.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=('0ba6b2dd3f785e6a84d7749d57e9d63e')
b2sums=('4be6a8cea5dff3dd721bcc4584e4133595ffe762a7467cdbd8b20e5aae816f4820b9bac413bc9a9a69cea1379d69a832690502057c2c77958e5c3f4097e52c28')
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"
}
|