# Maintainer: Pekka Ristola _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" }