diff options
author | Sukanka | 2022-06-06 11:43:28 +0800 |
---|---|---|
committer | Sukanka | 2022-06-06 11:43:28 +0800 |
commit | 3713954e303d71b62159c994e83a20624cad1f2a (patch) | |
tree | 1bf5753868075f8f9af8ff7a5b733dc8b7b98c35 | |
download | aur-3713954e303d71b62159c994e83a20624cad1f2a.tar.gz |
add r-graphpac
-rw-r--r-- | .SRCINFO | 18 | ||||
-rw-r--r-- | PKGBUILD | 34 |
2 files changed, 52 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..810c75f82c4c --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,18 @@ +pkgbase = r-graphpac + pkgdesc = Identification of Mutational Clusters in Proteins via a Graph Theoretical Approach. + pkgver = 1.38.0 + pkgrel = 1 + url = https://bioconductor.org/packages/GraphPAC + arch = any + license = GPL + depends = r + depends = r-igraph + depends = r-ipac + depends = r-rmallow + depends = r-tsp + optdepends = r-biocgenerics + optdepends = r-runit + source = https://bioconductor.org/packages/release/bioc/src/contrib/GraphPAC_1.38.0.tar.gz + sha256sums = 70b8602910bc8cbd9294f3d70912a15c8044420da6651aef9fa12f6416eb2ce3 + +pkgname = r-graphpac diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..d625188df17a --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,34 @@ +# Maintainer: Guoyi Zhang <guoyizhang at malacology dot net> + +_pkgname=GraphPAC +_pkgver=1.38.0 +pkgname=r-${_pkgname,,} +pkgver=1.38.0 +pkgrel=1 +pkgdesc='Identification of Mutational Clusters in Proteins via a Graph Theoretical Approach.' +arch=('any') +url="https://bioconductor.org/packages/${_pkgname}" +license=('GPL') +depends=( + r + r-igraph + r-ipac + r-rmallow + r-tsp +) +optdepends=( + r-biocgenerics + r-runit +) +source=("https://bioconductor.org/packages/release/bioc/src/contrib/${_pkgname}_${_pkgver}.tar.gz") +sha256sums=('70b8602910bc8cbd9294f3d70912a15c8044420da6651aef9fa12f6416eb2ce3') + +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: |