mirror of
https://github.com/BioArchLinux/Packages.git
synced 2025-03-10 12:02:42 +00:00
54 lines
1.2 KiB
Bash
54 lines
1.2 KiB
Bash
# Maintainer: Pekka Ristola <pekkarr [at] protonmail [dot] com>
|
|
|
|
_pkgname=tadar
|
|
_pkgver=1.0.0
|
|
pkgname=r-${_pkgname,,}
|
|
pkgver=${_pkgver//-/.}
|
|
pkgrel=2
|
|
pkgdesc="Transcriptome Analysis of Differential Allelic Representation"
|
|
arch=(any)
|
|
url="https://bioconductor.org/packages/$_pkgname"
|
|
license=('GPL-3.0-only')
|
|
depends=(
|
|
r-biocgenerics
|
|
r-genomeinfodb
|
|
r-genomicranges
|
|
r-ggplot2
|
|
r-gviz
|
|
r-iranges
|
|
r-matrixgenerics
|
|
r-rlang
|
|
r-rsamtools
|
|
r-s4vectors
|
|
r-variantannotation
|
|
)
|
|
checkdepends=(
|
|
r-testthat
|
|
)
|
|
optdepends=(
|
|
r-biocstyle
|
|
r-covr
|
|
r-knitr
|
|
r-limma
|
|
r-rmarkdown
|
|
r-testthat
|
|
r-tidyverse
|
|
)
|
|
source=("https://bioconductor.org/packages/release/bioc/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
|
|
md5sums=('88c91583a351bef3f3d8ca38b51c0c04')
|
|
b2sums=('049c9b1320143a39f433f3ff662d371c1103558f781ee85b0d31466443e755489b0d705f562615fa9f6c65d02293b89436bca31e9877d9e713256d6c3542a20b')
|
|
|
|
build() {
|
|
mkdir build
|
|
R CMD INSTALL -l build "$_pkgname"
|
|
}
|
|
|
|
check() {
|
|
cd "$_pkgname/tests"
|
|
R_LIBS="$srcdir/build" NOT_CRAN=true Rscript --vanilla testthat.R
|
|
}
|
|
|
|
package() {
|
|
install -d "$pkgdir/usr/lib/R/library"
|
|
cp -a --no-preserve=ownership "build/$_pkgname" "$pkgdir/usr/lib/R/library"
|
|
}
|