# Maintainer: Guoyi Zhang _pkgname=HDTD _pkgver=1.38.0 pkgname=r-${_pkgname,,} pkgver=1.38.0 pkgrel=1 pkgdesc='Statistical Inference about the Mean Matrix and the Covariance Matrices in High-Dimensional Transposable Data (HDTD)' arch=('x86_64') url="https://bioconductor.org/packages/${_pkgname}" license=('GPL') depends=( r r-rcpp r-rcpparmadillo ) optdepends=( r-knitr r-rmarkdown ) source=("https://bioconductor.org/packages/release/bioc/src/contrib/${_pkgname}_${_pkgver}.tar.gz") sha256sums=('f756ac0d0c5f61c18190352a24e361fdda0fe10c2e5179c106fe6d56cd138c96') build() { R CMD INSTALL ${_pkgname}_${_pkgver}.tar.gz -l "${srcdir}" } package() { install -dm0755 "${pkgdir}/usr/lib/R/library" cp -a --no-preserve=ownership "${_pkgname}" "${pkgdir}/usr/lib/R/library" } # vim:set ts=2 sw=2 et: