blob: 56d48d7bde7ac029f4d294fd82aa5712859b1166 (
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
|
# Maintainer: Guoyi Zhang <guoyizhang at malacology dot net>
_pkgname=ANF
_pkgver=1.28.0
pkgname=r-${_pkgname,,}
pkgver=${_pkgver//-/.}
pkgrel=1
pkgdesc="Affinity Network Fusion for Complex Patient Clustering"
arch=(any)
url="https://bioconductor.org/packages/$_pkgname"
license=('GPL-3.0-only')
depends=(
r-biobase
r-igraph
r-rcolorbrewer
)
optdepends=(
r-experimenthub
r-knitr
r-rmarkdown
r-snftool
r-testthat
)
source=("https://bioconductor.org/packages/release/bioc/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
md5sums=('9f597355f1b3399b66316f456272f316')
b2sums=('4b5890d5eb72ee9c180ebfea6b0ffe9567471a95308bb08e204c588ec6818879d5c95c469a7cc16dd8e62514b960ae602c789f172bc812c4e1532d3dac02c676')
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"
}
|