diff options
author | Sukanka | 2022-06-06 11:47:01 +0800 |
---|---|---|
committer | Sukanka | 2022-06-06 11:47:01 +0800 |
commit | e0feb1ffc6097424bc2d1e1f078c47fa0c851110 (patch) | |
tree | 11e84ad1555bcfc96e983f53d1a952e89c634d1a | |
download | aur-e0feb1ffc6097424bc2d1e1f078c47fa0c851110.tar.gz |
add r-grmetrics
-rw-r--r-- | .SRCINFO | 21 | ||||
-rw-r--r-- | PKGBUILD | 37 |
2 files changed, 58 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..07da9cd42054 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,21 @@ +pkgbase = r-grmetrics + pkgdesc = Calculate growth-rate inhibition (GR) metrics + pkgver = 1.22.0 + pkgrel = 1 + url = https://bioconductor.org/packages/GRmetrics + arch = any + license = GPL + depends = r + depends = r-drc + depends = r-ggplot2 + depends = r-plotly + depends = r-s4vectors + depends = r-summarizedexperiment + optdepends = r-biocstyle + optdepends = r-knitr + optdepends = r-rmarkdown + optdepends = r-tinytex + source = https://bioconductor.org/packages/release/bioc/src/contrib/GRmetrics_1.22.0.tar.gz + sha256sums = 72f49ce3013e087f7f83db99309fd028c93f663f4088fa0baf245ccb915ce2e3 + +pkgname = r-grmetrics diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..12a74ee7fbe1 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,37 @@ +# Maintainer: Guoyi Zhang <guoyizhang at malacology dot net> + +_pkgname=GRmetrics +_pkgver=1.22.0 +pkgname=r-${_pkgname,,} +pkgver=1.22.0 +pkgrel=1 +pkgdesc='Calculate growth-rate inhibition (GR) metrics' +arch=('any') +url="https://bioconductor.org/packages/${_pkgname}" +license=('GPL') +depends=( + r + r-drc + r-ggplot2 + r-plotly + r-s4vectors + r-summarizedexperiment +) +optdepends=( + r-biocstyle + r-knitr + r-rmarkdown + r-tinytex +) +source=("https://bioconductor.org/packages/release/bioc/src/contrib/${_pkgname}_${_pkgver}.tar.gz") +sha256sums=('72f49ce3013e087f7f83db99309fd028c93f663f4088fa0baf245ccb915ce2e3') + +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" +} +# vim:set ts=2 sw=2 et: |