# Maintainer: Guoyi Zhang _pkgname=Rsubread _pkgver=2.18.0 pkgname=r-${_pkgname,,} pkgver=${_pkgver//-/.} pkgrel=1 pkgdesc="Mapping, quantification and variant analysis of sequencing data" arch=(x86_64) url="https://bioconductor.org/packages/$_pkgname" license=('GPL-3.0-or-later') depends=( r zlib ) source=("https://bioconductor.org/packages/release/bioc/src/contrib/${_pkgname}_${_pkgver}.tar.gz") md5sums=('e89748afba3c2245eeeacf0b3bf6c5e2') b2sums=('a483b35cb299cfc6b8aee011a8608fcf86a393bce3424033e6651495d31283350562ca62730f6dcc9161695ee489382430ff563e17935c5bba451b6e5ee8649c') 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" }