blob: 67cb2dd04e200eb840cfd7c165f80202fc9d7b72 (
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
|
# Maintainer: Pekka Ristola <pekkarr [at] protonmail [dot] com>
_pkgname=orthosData
_pkgver=1.4.0
pkgname=r-${_pkgname,,}
pkgver=${_pkgver//-/.}
pkgrel=1
pkgdesc="Data for the orthos package"
arch=(any)
url="https://bioconductor.org/packages/$_pkgname"
license=('MIT')
depends=(
r-annotationhub
r-biocfilecache
r-experimenthub
r-hdf5array
r-stringr
r-summarizedexperiment
)
optdepends=(
r-biocstyle
r-ggplot2
r-knitr
r-rmarkdown
r-testthat
)
source=("https://bioconductor.org/packages/release/data/experiment/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
md5sums=('31ec483008cbe76b4ad674381133bb91')
b2sums=('dfc75acd2b80f34f19f3527acc63fd14e158844cfbbb7cac5341264ab4f4be193032efe74a2dd85d5de241f575bca75a4e289378e39873b744bd5a13ecc57aa2')
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"
}
|