diff options
author | Pekka Ristola | 2023-11-14 13:31:50 +0200 |
---|---|---|
committer | Pekka Ristola | 2023-11-14 13:31:50 +0200 |
commit | a1a77653b29d0909fcf1c8f30c8155cbb809f70c (patch) | |
tree | 6133e0e722e8eb9a152d76059179006055753ca3 | |
download | aur-a1a77653b29d0909fcf1c8f30c8155cbb809f70c.tar.gz |
Version 1.6.0
-rw-r--r-- | .SRCINFO | 35 | ||||
-rw-r--r-- | PKGBUILD | 58 |
2 files changed, 93 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..7f967ef2325b --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,35 @@ +pkgbase = r-seqarchr + pkgdesc = Identify Different Architectures of Sequence Elements + pkgver = 1.6.0 + pkgrel = 1 + url = https://bioconductor.org/packages/seqArchR + arch = any + license = GPL3 + checkdepends = r-testthat + checkdepends = r-vdiffr + depends = python-packaging + depends = python-scikit-learn + depends = r-biocparallel + depends = r-biostrings + depends = r-cli + depends = r-cvtools + depends = r-fpc + depends = r-ggplot2 + depends = r-ggseqlogo + depends = r-matrixstats + depends = r-prettyunits + depends = r-reshape2 + depends = r-reticulate + optdepends = r-biocstyle + optdepends = r-covr + optdepends = r-cowplot + optdepends = r-hopach + optdepends = r-knitr + optdepends = r-rmarkdown + optdepends = r-testthat + optdepends = r-vdiffr + source = https://bioconductor.org/packages/release/bioc/src/contrib/seqArchR_1.6.0.tar.gz + md5sums = b991ca99e52e357f8ef95a3a75a1decc + sha256sums = 0eaabb037d55fbea2ca2919eac7f85019b1eb852c76338428a61d89f3481dff6 + +pkgname = r-seqarchr diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..11519e6bc7a0 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,58 @@ +# Maintainer: Pekka Ristola <pekkarr [at] protonmail [dot] com> + +_pkgname=seqArchR +_pkgver=1.6.0 +pkgname=r-${_pkgname,,} +pkgver=${_pkgver//-/.} +pkgrel=1 +pkgdesc="Identify Different Architectures of Sequence Elements" +arch=(any) +url="https://bioconductor.org/packages/${_pkgname}" +license=(GPL3) +depends=( + python-packaging + python-scikit-learn + r-biocparallel + r-biostrings + r-cli + r-cvtools + r-fpc + r-ggplot2 + r-ggseqlogo + r-matrixstats + r-prettyunits + r-reshape2 + r-reticulate +) +checkdepends=( + r-testthat + r-vdiffr +) +optdepends=( + r-biocstyle + r-covr + r-cowplot + r-hopach + r-knitr + r-rmarkdown + r-testthat + r-vdiffr +) +source=("https://bioconductor.org/packages/release/bioc/src/contrib/${_pkgname}_${_pkgver}.tar.gz") +md5sums=('b991ca99e52e357f8ef95a3a75a1decc') +sha256sums=('0eaabb037d55fbea2ca2919eac7f85019b1eb852c76338428a61d89f3481dff6') + +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" +} |