blob: f8a2d2dc8cfd5a360be1d3c6cfbe96c76c1b54d8 (
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=Rcpi
_pkgver=1.40.3
pkgname=r-${_pkgname,,}
pkgver=${_pkgver//-/.}
pkgrel=1
pkgdesc="Molecular Informatics Toolkit for Compound-Protein Interaction in Drug Discovery"
arch=(any)
url="https://bioconductor.org/packages/$_pkgname"
license=('Artistic-2.0')
depends=(
r-biostrings
r-curl
r-doparallel
r-foreach
r-gosemsim
r-httr2
r-jsonlite
r-rlang
)
optdepends=(
r-knitr
r-rmarkdown
r-testthat
)
source=("https://bioconductor.org/packages/release/bioc/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
md5sums=('d9a0626039d41a94bf159095b04f4345')
b2sums=('ad895d48c4e14407cd92f1945fb9a3dd3aa3fdab861622076d95a02c85022aa8a1603c1d5fd25728dacc227d1351d3bc72250f127fda0660c8eb96b5646421f2')
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"
}
|