diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..8defa11c4352 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,46 @@ +# Maintainer: Guoyi Zhang <guoyizhang at malacology dot net> + +_pkgname=Harman +_pkgver=1.24.0 +pkgname=r-${_pkgname,,} +pkgver=1.24.0 +pkgrel=1 +pkgdesc='The removal of batch effects from datasets using a PCA and constrained optimisation based technique' +arch=('x86_64') +url="https://bioconductor.org/packages/${_pkgname}" +license=('GPL') +depends=( + r + r-rcpp + r-matrixstats + r-ckmeans.1d.dp +) +optdepends=( + r-affydata + r-biocgenerics + r-biocstyle + r-bladderbatch + r-harmandata + r-knitr + r-limma + r-lumi + r-minfi + r-minfidata + r-msmseda + r-rcolorbrewer + r-rmarkdown + r-runit + r-sva +) +source=("https://bioconductor.org/packages/release/bioc/src/contrib/${_pkgname}_${_pkgver}.tar.gz") +sha256sums=('33e277bca7ae83d037e3eab51aaa86bde28ee9b1d9dece5560806c554d4c96e5') + +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: |