Packages/BioArchLinux/r-cellscape/PKGBUILD

36 lines
936 B
Bash

# Maintainer: Guoyi Zhang <guoyizhang at malacology dot net>
_pkgname=cellscape
_pkgver=1.30.0
pkgname=r-${_pkgname,,}
pkgver=${_pkgver//-/.}
pkgrel=1
pkgdesc="Explores single cell copy number profiles in the context of a single cell tree"
arch=(any)
url="https://bioconductor.org/packages/$_pkgname"
license=('GPL-3.0-only')
depends=(
r-dplyr
r-gtools
r-htmlwidgets
r-jsonlite
r-reshape2
r-stringr
)
optdepends=(
r-knitr
r-rmarkdown
)
source=("https://bioconductor.org/packages/release/bioc/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
md5sums=('9dc56beae183f99fae4f3da0c4f63e3e')
b2sums=('9477f5d7a493b1d9991a5d8c0f36d252986a0277dd31862955eb2e23d037217e89779b886ed94271fde167bc4679015278ba49de65489249e18c19a3af67fb42')
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"
}