diff options
author | Sukanka | 2022-06-06 12:15:47 +0800 |
---|---|---|
committer | Sukanka | 2022-06-06 12:15:47 +0800 |
commit | c6a0d33d548ed7cc659826f772685358248d2641 (patch) | |
tree | 4fb4a29708d0b12dca93595d404ff04044782d5f /PKGBUILD | |
download | aur-c6a0d33d548ed7cc659826f772685358248d2641.tar.gz |
add r-hiergwas
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..f665016af61f --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,34 @@ +# Maintainer: Guoyi Zhang <guoyizhang at malacology dot net> + +_pkgname=hierGWAS +_pkgver=1.26.0 +pkgname=r-${_pkgname,,} +pkgver=1.26.0 +pkgrel=1 +pkgdesc='Asessing statistical significance in predictive GWA studies' +arch=('any') +url="https://bioconductor.org/packages/${_pkgname}" +license=('GPL') +depends=( + r + r-fastcluster + r-fmsb + r-glmnet +) +optdepends=( + r-biocgenerics + r-mass + r-runit +) +source=("https://bioconductor.org/packages/release/bioc/src/contrib/${_pkgname}_${_pkgver}.tar.gz") +sha256sums=('8378160c6d811b98c012dfd7f67dcc19bfc257dbfc9bdfa6d4de68c8c75c1959') + +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: |