blob: 493ae23d95ce431693504dd1f113319df3d4e976 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
# Maintainer: Pekka Ristola <pekkarr [at] protonmail [dot] com>
# Contributor: Guoyi Zhang <guoyizhang at malacology dot net>
_pkgname=waddR
_pkgver=1.18.0
pkgname=r-${_pkgname,,}
pkgver=${_pkgver//-/.}
pkgrel=1
pkgdesc="Statistical tests for detecting differential distributions based on the 2-Wasserstein distance"
arch=(x86_64)
url="https://bioconductor.org/packages/$_pkgname"
license=('MIT')
depends=(
r-arm
r-biocfilecache
r-biocparallel
r-eva
r-rcpp
r-singlecellexperiment
)
makedepends=(
r-rcpparmadillo
)
optdepends=(
r-devtools
r-knitr
r-rmarkdown
r-roxygen2
r-rprojroot
r-scater
r-testthat
)
source=("https://bioconductor.org/packages/release/bioc/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
md5sums=('9695ee9ac20ca933e4c779c59ece95d9')
b2sums=('c91107aa950d8e3a54c030d126a55e597d4a9053f3539328b6724f0570162eefacc84438947f2d3bb2975e7c548b5e4dfd50a29accca0fbae346cf60049cb1c4')
build() {
mkdir build
R CMD INSTALL -l build "$_pkgname"
}
package() {
install -d "$pkgdir/usr/lib/R/library"
cp -a --no-preserve=ownership "build/$_pkgname" "$pkgdir/usr/lib/R/library"
install -d "$pkgdir/usr/share/licenses/$pkgname"
ln -s "/usr/lib/R/library/$_pkgname/LICENSE" "$pkgdir/usr/share/licenses/$pkgname"
}
|