blob: b5dd6ee51bf9252502a643e12f3638ac8a155d6a (
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
|
# Maintainer: Guoyi Zhang <guoyizhang at malacology dot net>
_pkgname=DelayedMatrixStats
_pkgver=1.28.0
pkgname=r-${_pkgname,,}
pkgver=${_pkgver//-/.}
pkgrel=1
pkgdesc="Functions that Apply to Rows and Columns of 'DelayedMatrix' Objects"
arch=(any)
url="https://bioconductor.org/packages/$_pkgname"
license=('MIT')
depends=(
r-delayedarray
r-iranges
r-matrixgenerics
r-s4vectors
r-sparsearray
r-sparsematrixstats
)
optdepends=(
r-biocstyle
r-hdf5array
r-knitr
r-matrixstats
r-microbenchmark
r-profmem
r-rmarkdown
r-testthat
)
source=("https://bioconductor.org/packages/release/bioc/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
md5sums=('1417e01b05f813b1955f3bd2cc62043c')
b2sums=('61ca92e6c02cbf54f07d6f637f316467335cfb1ed6e3e0176534e6730218a5849338bdd0d8dd58bd3fb374a4b0cc49e2d73565beae501227f23acae6d4f1a0b6')
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"
}
|