# Maintainer: Guoyi Zhang _pkgname=metagene2 _pkgver=1.18.0 pkgname=r-${_pkgname,,} pkgver=1.18.0 pkgrel=1 pkgdesc='A package to produce metagene plots' arch=('any') url="https://bioconductor.org/packages/${_pkgname}" license=('Artistic2.0') depends=( r r-biocparallel r-data.table r-dplyr r-genomeinfodb r-genomicalignments r-genomicranges r-ggplot2 r-iranges r-magrittr r-purrr r-r6 r-reshape2 r-rsamtools r-rtracklayer ) optdepends=( r-biocgenerics r-biocstyle r-knitr r-rmarkdown r-runit ) source=("https://bioconductor.org/packages/release/bioc/src/contrib/${_pkgname}_${_pkgver}.tar.gz") sha256sums=('40912fc8f7a4d447a2b0a3a969d331cefce83e28c5a428aef4c222a1212493f0') 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: