Packages/BioArchLinux/r-csar/PKGBUILD

34 lines
830 B
Bash

# Maintainer: Guoyi Zhang <guoyizhang at malacology dot net>
_pkgname=CSAR
_pkgver=1.52.0
pkgname=r-${_pkgname,,}
pkgver=1.52.0
pkgrel=1
pkgdesc='Statistical tools for the analysis of ChIP-seq data'
arch=('x86_64')
url="https://bioconductor.org/packages/${_pkgname}"
license=('Artistic2.0')
depends=(
r
r-genomeinfodb
r-genomicranges
r-iranges
r-s4vectors
)
optdepends=(
r-biostrings
r-shortread
)
source=("https://bioconductor.org/packages/release/bioc/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
sha256sums=('15907f37121ab8b83844fc9fb71ebc88dd46dad521f2ea6bd3f511fb4e17795c')
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: