diff options
author | Sukanka | 2022-06-06 16:55:26 +0800 |
---|---|---|
committer | Sukanka | 2022-06-06 16:55:26 +0800 |
commit | f265729498950a681df8065c29568bf938e76740 (patch) | |
tree | 5e12d841718375a9547b33601ecc719ac9165b2d | |
download | aur-f265729498950a681df8065c29568bf938e76740.tar.gz |
add r-netbiov
-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..f518d6c97ffc --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,17 @@ +pkgbase = r-netbiov + pkgdesc = A package for visualizing complex biological network + pkgver = 1.30.0 + pkgrel = 1 + url = https://bioconductor.org/packages/netbiov + arch = any + license = GPL + depends = r + depends = r-igraph + optdepends = r-biocgenerics + optdepends = r-biocstyle + optdepends = r-matrix + optdepends = r-runit + source = https://bioconductor.org/packages/release/bioc/src/contrib/netbiov_1.30.0.tar.gz + sha256sums = a753931e80633e57d92b029563ea3c41c63f6d2778743f73fe9afd733df7c3b0 + +pkgname = r-netbiov diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..85927ec615de --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,33 @@ +# Maintainer: Guoyi Zhang <guoyizhang at malacology dot net> + +_pkgname=netbiov +_pkgver=1.30.0 +pkgname=r-${_pkgname,,} +pkgver=1.30.0 +pkgrel=1 +pkgdesc='A package for visualizing complex biological network' +arch=('any') +url="https://bioconductor.org/packages/${_pkgname}" +license=('GPL') +depends=( + r + r-igraph +) +optdepends=( + r-biocgenerics + r-biocstyle + r-matrix + r-runit +) +source=("https://bioconductor.org/packages/release/bioc/src/contrib/${_pkgname}_${_pkgver}.tar.gz") +sha256sums=('a753931e80633e57d92b029563ea3c41c63f6d2778743f73fe9afd733df7c3b0') + +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: |