# Maintainer: Guoyi Zhang _pkgname=impute _pkgver=1.76.0 pkgname=r-${_pkgname,,} pkgver=${_pkgver//-/.} pkgrel=3 pkgdesc="Imputation for microarray data" arch=(x86_64) url="https://bioconductor.org/packages/$_pkgname" license=('GPL-2.0-only') depends=( r ) makedepends=( gcc-fortran ) source=("https://bioconductor.org/packages/release/bioc/src/contrib/${_pkgname}_${_pkgver}.tar.gz") md5sums=('8e974dcc31c3507ebcc8984b2d7943f9') b2sums=('8fc3aab7ae4ab318748a9dea9030c7987d73266cddd1a7d39d06de871be6589fa268dbfa1fe19f4a61da58e059ce4711ae31c413237e3d4dbc9552dbad1c4ea6') 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" }