blob: 6599d6ba9e8cfa0f5ef25747ed5b1a220fe32abf (
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
|
# Maintainer: Guoyi Zhang <guoyizhang at malacology dot net>
_pkgname=CONSTANd
_pkgver=1.16.0
pkgname=r-${_pkgname,,}
pkgver=${_pkgver//-/.}
pkgrel=1
pkgdesc="Data normalization by matrix raking"
arch=(any)
url="https://bioconductor.org/packages/$_pkgname"
license=('NPOSL-3.0')
depends=(
r
)
optdepends=(
r-biocstyle
r-cairo
r-ggplot2
r-gridextra
r-knitr
r-limma
r-magick
r-rmarkdown
r-tidyr
)
source=("https://bioconductor.org/packages/release/bioc/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
md5sums=('00ffc09fef66b1d54ab139a5a4862388')
b2sums=('9a21059265af47025183bed157f5046926c34a907a9308ab91f1146bd85220e9b348b4d38c3a5bc5eb4ec7a0b5b232ef389bd5f5030aa1510711808d6440cf58')
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"
}
|