# Maintainer: Pekka Ristola # Contributor: sukanka _pkgname=restfulSEData _pkgver=1.26.0 pkgname=r-${_pkgname,,} pkgver=${_pkgver//-/.} pkgrel=1 pkgdesc="Example metadata for the \"restfulSE\" R package" arch=(any) url="https://bioconductor.org/packages/$_pkgname" license=('Artistic-2.0') depends=( r-delayedarray r-experimenthub r-hdf5array r-summarizedexperiment ) optdepends=( r-biocstyle r-knitr r-rhdf5client r-rmarkdown ) source=("https://bioconductor.org/packages/release/data/experiment/src/contrib/${_pkgname}_${_pkgver}.tar.gz") md5sums=('e9e3718f9c24dab9326ca0f97852d070') b2sums=('8fc049b331442c545950c8dbafda56175aef46243a5264c3b58507677dfa6366dc4af7c336a5e6cef0690f2a84dfd37cf7427ac80598d34eef8990f9f2b4e07a') 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" }