# Maintainer: Guoyi Zhang _pkgname=OSAT _pkgver=1.52.0 pkgname=r-${_pkgname,,} pkgver=${_pkgver//-/.} pkgrel=1 pkgdesc="Optimal Sample Assignment Tool" arch=(any) url="https://bioconductor.org/packages/$_pkgname" license=('Artistic-2.0') depends=( r ) optdepends=( r-biobase r-xtable ) source=("https://bioconductor.org/packages/release/bioc/src/contrib/${_pkgname}_${_pkgver}.tar.gz") md5sums=('259569f5edc846d12c80d3a8531a5853') b2sums=('e7c50d1bb17fe6255df125776c1c436126a151312186f9df6bcfceb5c5c783cac27ebf57d7820c2c3e4286d5a0232a209b9beff64b5ac8894a7857ffdb9245c9') 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" }