Packages/BioArchLinux/r-txdb.hsapiens.ucsc.hg38.knowngene/PKGBUILD

28 lines
786 B
Bash

# Maintainer: Guoyi Zhang <guoyizhang at malacology dot net>
_pkgname=TxDb.Hsapiens.UCSC.hg38.knownGene
_pkgver=3.20.0
pkgname=r-${_pkgname,,}
pkgver=3.20.0
pkgrel=1
pkgdesc='Annotation package for TxDb object(s)'
arch=('any')
url="https://bioconductor.org/packages/${_pkgname}"
license=('Artistic2.0')
depends=(
r
r-annotationdbi
r-genomicfeatures
)
source=("https://bioconductor.org/packages/release/data/annotation/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
sha256sums=('c4627df29a1b6e1d19c9fbc6cfaf571cd499869f23e8c0c7fb1c4ac643691597')
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: