diff options
author | Pekka Ristola | 2023-10-21 00:20:06 +0300 |
---|---|---|
committer | Pekka Ristola | 2023-10-21 00:20:06 +0300 |
commit | 007f9973092e51891d8ad93cff8bbd594f75e57b (patch) | |
tree | f6ebf164a18d1754b00371c92b94c3da4ae0d11f /PKGBUILD | |
download | aur-007f9973092e51891d8ad93cff8bbd594f75e57b.tar.gz |
Version 1.0.2
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..3c4ddf3228da --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,55 @@ +# Maintainer: Pekka Ristola <pekkarr [at] protonmail [dot] com> + +_pkgname=CytoPipeline +_pkgver=1.0.2 +pkgname=r-${_pkgname,,} +pkgver=${_pkgver//-/.} +pkgrel=1 +pkgdesc="Automation and visualization of flow cytometry data analysis pipelines" +arch=(any) +url="https://bioconductor.org/packages/${_pkgname}" +license=(GPL3) +depends=( + r-biocfilecache + r-biocparallel + r-diagram + r-flowai + r-flowcore + r-ggcyto + r-ggplot2 + r-jsonlite + r-peacoqc + r-rlang + r-scales + r-withr +) +checkdepends=( + r-testthat + r-vdiffr +) +optdepends=( + r-biocstyle + r-diffviewer + r-knitr + r-rmarkdown + r-testthat + r-vdiffr +) +source=("https://bioconductor.org/packages/release/bioc/src/contrib/${_pkgname}_${_pkgver}.tar.gz") +md5sums=('03008ccf1f86b39cc48a5f9fa82ae3a2') +sha256sums=('145a7860d3d62ba50957fa3b05a1aa3f3b79ac0d2808369e2833e1833476e176') + +build() { + mkdir -p build + R CMD INSTALL "$_pkgname" -l build +} + +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" +} |