# Maintainer: Guoyi Zhang _pkgname=org.Dm.eg.db _pkgver=3.18.0 pkgname=r-${_pkgname,,} pkgver=3.18.0 pkgrel=1 pkgdesc='Genome wide annotation for Fly' arch=('any') url="https://bioconductor.org/packages/${_pkgname}" license=('Artistic2.0') depends=( r r-annotationdbi ) optdepends=( r-annotate r-dbi r-runit ) source=("https://bioconductor.org/packages/release/data/annotation/src/contrib/${_pkgname}_${_pkgver}.tar.gz") sha256sums=('46693c745ac637135baa35a229abe7124d099c9b250902829684dac1ade719d8') 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: