blob: 29f898d7a72f710d65710fb352cd2ea8349b3536 (
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
|
# Maintainer: Pekka Ristola <pekkarr [at] protonmail [dot] com>
_pkgname=CoSIA
_pkgver=1.2.0
pkgname=r-${_pkgname,,}
pkgver=${_pkgver//-/.}
pkgrel=2
pkgdesc="An Investigation Across Different Species and Tissues"
arch=(any)
url="https://bioconductor.org/packages/$_pkgname"
license=('MIT')
depends=(
r-annotationdbi
r-annotationtools
r-biomart
r-dplyr
r-experimenthub
r-ggplot2
r-homologene
r-magrittr
r-org.ce.eg.db
r-org.dm.eg.db
r-org.dr.eg.db
r-org.hs.eg.db
r-org.mm.eg.db
r-org.rn.eg.db
r-plotly
r-rcolorbrewer
r-readr
r-stringr
r-tibble
r-tidyr
r-tidyselect
)
optdepends=(
r-biocstyle
r-knitr
r-qpdf
r-rmarkdown
r-testthat
r-tidyverse
)
source=("https://bioconductor.org/packages/release/bioc/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
md5sums=('217ff53ed0aac2ca3c2d91ce5237c111')
b2sums=('3fcc3231673e0ee775689b136d0eb13b4589f16a0fdb12af2efc4ab9841daf864171ecbe3734dc08565d253e888a5f1c7d216d0b3ec845c333ef69acf952f183')
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"
}
|