# Maintainer: Guoyi Zhang _pkgname=MBAmethyl _pkgver=1.38.0 pkgname=r-${_pkgname,,} pkgver=${_pkgver//-/.} pkgrel=1 pkgdesc="Model-based analysis of DNA methylation data" arch=(any) url="https://bioconductor.org/packages/$_pkgname" license=('Artistic-2.0') depends=( r ) source=("https://bioconductor.org/packages/release/bioc/src/contrib/${_pkgname}_${_pkgver}.tar.gz") md5sums=('eb8d93ad9e6169a9b32f8cff8b8a62e8') b2sums=('7fc6c2bec1ff42ea471af8c0852c376ea9dc37b752399e4a7db7597c61ad7b9a3ad6f247822ec7641db1dff2286deb5fdd4e7a602141585a5fe680cc32945b07') 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" }