summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorSukanka2022-06-06 16:32:02 +0800
committerSukanka2022-06-06 16:32:02 +0800
commit6b625e4f9f8922acec1c639ddd0a4edbff11cb0a (patch)
tree7cf470c69d19339742038caf660313456f13208b
downloadaur-6b625e4f9f8922acec1c639ddd0a4edbff11cb0a.tar.gz
add r-multibac
-rw-r--r--.SRCINFO21
-rw-r--r--PKGBUILD37
2 files changed, 58 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 000000000000..fe230fd7b7e0
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,21 @@
+pkgbase = r-multibac
+ pkgdesc = Multiomic Batch effect Correction
+ pkgver = 1.6.0
+ pkgrel = 1
+ url = https://bioconductor.org/packages/MultiBaC
+ arch = any
+ license = GPL
+ depends = r
+ depends = r-ggplot2
+ depends = r-multiassayexperiment
+ depends = r-plotrix
+ depends = r-ropls
+ depends = r-pcamethods
+ optdepends = r-biocstyle
+ optdepends = r-devtools
+ optdepends = r-knitr
+ optdepends = r-rmarkdown
+ source = https://bioconductor.org/packages/release/bioc/src/contrib/MultiBaC_1.6.0.tar.gz
+ sha256sums = fa88046c5ad8ebb395dfd71329dec7c2c51fd971b89b87464d11139467611209
+
+pkgname = r-multibac
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 000000000000..24b4f8abb758
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,37 @@
+# Maintainer: Guoyi Zhang <guoyizhang at malacology dot net>
+
+_pkgname=MultiBaC
+_pkgver=1.6.0
+pkgname=r-${_pkgname,,}
+pkgver=1.6.0
+pkgrel=1
+pkgdesc='Multiomic Batch effect Correction'
+arch=('any')
+url="https://bioconductor.org/packages/${_pkgname}"
+license=('GPL')
+depends=(
+ r
+ r-ggplot2
+ r-multiassayexperiment
+ r-plotrix
+ r-ropls
+ r-pcamethods
+)
+optdepends=(
+ r-biocstyle
+ r-devtools
+ r-knitr
+ r-rmarkdown
+)
+source=("https://bioconductor.org/packages/release/bioc/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
+sha256sums=('fa88046c5ad8ebb395dfd71329dec7c2c51fd971b89b87464d11139467611209')
+
+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: