# Maintainer: Pekka Ristola <pekkarr [at] protonmail [dot] com> _pkgname=scFeatures _pkgver=1.8.0 pkgname=r-${_pkgname,,} pkgver=${_pkgver//-/.} pkgrel=1 pkgdesc="Multi-view representations of single-cell and spatial data for disease outcome prediction" arch=(any) url="https://bioconductor.org/packages/$_pkgname" license=('GPL-3.0-only') depends=( r-ape r-aucell r-biocparallel r-cli r-delayedarray r-delayedmatrixstats r-dplyr r-dt r-ensdb.hsapiens.v79 r-ensdb.mmusculus.v79 r-ensembldb r-glue r-gsva r-gtools r-matrixgenerics r-msigdbr r-proxyc r-reshape2 r-rmarkdown r-seurat r-singlecellsignalr r-spatstat.explore r-spatstat.geom r-tidyr ) optdepends=( r-biocstyle r-classifyr r-clusterprofiler r-knitr r-org.hs.eg.db r-s4vectors r-survminer ) source=("https://bioconductor.org/packages/release/bioc/src/contrib/${_pkgname}_${_pkgver}.tar.gz") md5sums=('93a1ca58024d060e279efaa97ac0d53a') b2sums=('ed5051f6a745da739bdeeee858e05bd112ae0b516af69f0c400ff3ca0c248cd635a4c0a31f5736a18f36398f90e709e46aa7de481fa84a06e732462da5233fc8') 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" }