diff options
author | Sukanka | 2022-06-06 02:16:06 +0800 |
---|---|---|
committer | Sukanka | 2022-06-06 02:16:06 +0800 |
commit | be70e89ce9c8aca6d39a1d4da3c7a194fe080c4a (patch) | |
tree | 8a45a8f14c497998cfbcba300e47fb2d3527b0a5 | |
download | aur-be70e89ce9c8aca6d39a1d4da3c7a194fe080c4a.tar.gz |
add r-banocc
-rw-r--r-- | .SRCINFO | 20 | ||||
-rw-r--r-- | PKGBUILD | 37 |
2 files changed, 57 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..bb4e13b9a1ff --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,20 @@ +pkgbase = r-banocc + pkgdesc = Bayesian ANalysis Of Compositional Covariance + pkgver = 1.20.0 + pkgrel = 1 + url = https://bioconductor.org/packages/banocc + arch = any + license = MIT + depends = r + depends = r-coda + depends = r-mvtnorm + depends = r-rstan + depends = r-stringr + optdepends = r-knitr + optdepends = r-methods + optdepends = r-rmarkdown + optdepends = r-testthat + source = https://bioconductor.org/packages/release/bioc/src/contrib/banocc_1.20.0.tar.gz + sha256sums = 7dc17ed41402c8cbeabec272a7101cfdacfdab87354c9151eb53161ef07b6a83 + +pkgname = r-banocc diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..8353598a12af --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,37 @@ +# Maintainer: Guoyi Zhang <guoyizhang at malacology dot net> + +_pkgname=banocc +_pkgver=1.20.0 +pkgname=r-${_pkgname,,} +pkgver=1.20.0 +pkgrel=1 +pkgdesc='Bayesian ANalysis Of Compositional Covariance' +arch=('any') +url="https://bioconductor.org/packages/${_pkgname}" +license=('MIT') +depends=( + r + r-coda + r-mvtnorm + r-rstan + r-stringr +) +optdepends=( + r-knitr + r-methods + r-rmarkdown + r-testthat +) +source=("https://bioconductor.org/packages/release/bioc/src/contrib/${_pkgname}_${_pkgver}.tar.gz") +sha256sums=('7dc17ed41402c8cbeabec272a7101cfdacfdab87354c9151eb53161ef07b6a83') + +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" + install -Dm644 "${_pkgname}/LICENSE" -t "${pkgdir}/usr/share/licenses/${pkgname}" +} +# vim:set ts=2 sw=2 et: |