# Maintainer: Guoyi Zhang _pkgname=bnbc _pkgver=1.26.0 pkgname=r-${_pkgname,,} pkgver=${_pkgver//-/.} pkgrel=1 pkgdesc="Bandwise normalization and batch correction of Hi-C data" arch=(x86_64) url="https://bioconductor.org/packages/$_pkgname" license=('Artistic-2.0') depends=( r-biocgenerics r-data.table r-ebimage r-genomeinfodb r-genomicranges r-hicbricks r-iranges r-matrixstats r-preprocesscore r-rcpp r-rhdf5 r-s4vectors r-summarizedexperiment r-sva ) optdepends=( r-biocstyle r-bsgenome.hsapiens.ucsc.hg19 r-knitr r-rmarkdown r-runit ) source=("https://bioconductor.org/packages/release/bioc/src/contrib/${_pkgname}_${_pkgver}.tar.gz") md5sums=('3405e643b8aa9f603aaa2c8b8fceb215') b2sums=('bfeac0c0db491ab6293687cdb7e6fb2990d054f0f5dd185aff525bc1b2a8c2a7a674e47e27869d185ce524071d85d25a88d9b8701e247add49640f034244cc81') 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" }