diff options
author | Sukanka | 2022-06-07 02:51:32 +0800 |
---|---|---|
committer | Sukanka | 2022-06-07 02:51:32 +0800 |
commit | b18c2d22b0b9578fd2546498f2c145e7cd3f3d02 (patch) | |
tree | fdbccd97083768f75f82c6c70da4537fab218e8f | |
download | aur-b18c2d22b0b9578fd2546498f2c145e7cd3f3d02.tar.gz |
add r-wgcna
-rw-r--r-- | .SRCINFO | 28 | ||||
-rw-r--r-- | PKGBUILD | 44 |
2 files changed, 72 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..2af56e6b315d --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,28 @@ +pkgbase = r-wgcna + pkgdesc = Weighted Correlation Network Analysis + pkgver = 1.71 + pkgrel = 1 + url = https://cran.r-project.org/package=WGCNA + arch = x86_64 + license = GPL + depends = r + depends = r-annotationdbi + depends = r-doparallel + depends = r-dynamictreecut + depends = r-fastcluster + depends = r-foreach + depends = r-go.db + depends = r-hmisc + depends = r-impute + depends = r-matrixstats + depends = r-preprocesscore + depends = r-rcpp + optdepends = r-entropy + optdepends = r-infotheo + optdepends = r-minet + optdepends = r-org.hs.eg.db + optdepends = r-org.mm.eg.db + source = https://cran.r-project.org/src/contrib/WGCNA_1.71.tar.gz + sha256sums = 21f5349e888ea76241912600ee5c35a0d2fd50180568b9b08b2b597f099bf708 + +pkgname = r-wgcna diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..f7805b86dcfd --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,44 @@ +# Maintainer: Guoyi Zhang <guoyizhang at malacology dot net> + +_pkgname=WGCNA +_pkgver=1.71 +pkgname=r-${_pkgname,,} +pkgver=1.71 +pkgrel=1 +pkgdesc='Weighted Correlation Network Analysis' +arch=('x86_64') +url="https://cran.r-project.org/package=${_pkgname}" +license=('GPL') +depends=( + r + r-annotationdbi + r-doparallel + r-dynamictreecut + r-fastcluster + r-foreach + r-go.db + r-hmisc + r-impute + r-matrixstats + r-preprocesscore + r-rcpp +) +optdepends=( + r-entropy + r-infotheo + r-minet + r-org.hs.eg.db + r-org.mm.eg.db +) +source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz") +sha256sums=('21f5349e888ea76241912600ee5c35a0d2fd50180568b9b08b2b597f099bf708') + +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: |