# Maintainer: Pekka Ristola _pkgname=Motif2Site _pkgver=1.8.0 pkgname=r-${_pkgname,,} pkgver=${_pkgver//-/.} pkgrel=1 pkgdesc="Detect binding sites from motifs and ChIP-seq experiments, and compare binding sites across conditions" arch=(any) url="https://bioconductor.org/packages/$_pkgname" license=('GPL-2.0-only') depends=( r-biocgenerics r-biostrings r-bsgenome r-edger r-genomeinfodb r-genomicalignments r-genomicranges r-iranges r-mixtools r-s4vectors ) optdepends=( r-biocstyle r-bsgenome.ecoli.ncbi.20080805 r-bsgenome.hsapiens.ucsc.hg38 r-bsgenome.mmusculus.ucsc.mm10 r-bsgenome.scerevisiae.ucsc.saccer3 r-knitr r-rmarkdown ) source=("https://bioconductor.org/packages/release/bioc/src/contrib/${_pkgname}_${_pkgver}.tar.gz") md5sums=('da11799c0e277a85f8f5f04c5cb91ff4') b2sums=('55d79fe8a1f2601b37ab2e399e083eb59eab3d9a8926316e6058c031e0b779bbc999dc69e321484a7837fbcb2a56c8e4c10f467a5321b77b1e29bec613d9f3bd') 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" }