diff options
author | Sukanka | 2022-06-06 13:44:49 +0800 |
---|---|---|
committer | Sukanka | 2022-06-06 13:44:49 +0800 |
commit | a2d3c73b47ce0d1b7d6c7ec65fcb6ca953cad8c8 (patch) | |
tree | 27656a0d3a1ed1f2ae26c12cc418b55dfac682e0 | |
download | aur-a2d3c73b47ce0d1b7d6c7ec65fcb6ca953cad8c8.tar.gz |
add r-kinswingr
-rw-r--r-- | .SRCINFO | 17 | ||||
-rw-r--r-- | PKGBUILD | 33 |
2 files changed, 50 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..77a03ab99554 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,17 @@ +pkgbase = r-kinswingr + pkgdesc = KinSwingR: network-based kinase activity prediction + pkgver = 1.14.0 + pkgrel = 1 + url = https://bioconductor.org/packages/KinSwingR + arch = any + license = GPL + depends = r + depends = r-biocparallel + depends = r-data.table + depends = r-sqldf + optdepends = r-knitr + optdepends = r-rmarkdown + source = https://bioconductor.org/packages/release/bioc/src/contrib/KinSwingR_1.14.0.tar.gz + sha256sums = c0a080cd51333f590288fae7d709ee451c89f46948ca5b9a375b94fbaa9b039c + +pkgname = r-kinswingr diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..5d228ea9aa4a --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,33 @@ +# Maintainer: Guoyi Zhang <guoyizhang at malacology dot net> + +_pkgname=KinSwingR +_pkgver=1.14.0 +pkgname=r-${_pkgname,,} +pkgver=1.14.0 +pkgrel=1 +pkgdesc='KinSwingR: network-based kinase activity prediction' +arch=('any') +url="https://bioconductor.org/packages/${_pkgname}" +license=('GPL') +depends=( + r + r-biocparallel + r-data.table + r-sqldf +) +optdepends=( + r-knitr + r-rmarkdown +) +source=("https://bioconductor.org/packages/release/bioc/src/contrib/${_pkgname}_${_pkgver}.tar.gz") +sha256sums=('c0a080cd51333f590288fae7d709ee451c89f46948ca5b9a375b94fbaa9b039c') + +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: |