blob: ef93b0e25f39f4a51acac0d27891dc7c68ce4695 (
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: Guoyi Zhang <guoyizhang at malacology dot net>
_pkgname=biomaRt
_pkgver=2.60.1
pkgname=r-${_pkgname,,}
pkgver=${_pkgver//-/.}
pkgrel=1
pkgdesc="Interface to BioMart databases (i.e. Ensembl)"
arch=(any)
url="https://bioconductor.org/packages/$_pkgname"
license=('Artistic-2.0')
depends=(
r-annotationdbi
r-biocfilecache
r-digest
r-httr2
r-progress
r-rappdirs
r-stringr
r-xml2
)
optdepends=(
r-biocstyle
r-httptest2
r-knitr
r-mockery
r-rmarkdown
r-testthat
)
source=("https://bioconductor.org/packages/release/bioc/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
md5sums=('7fe8c3ba15c1a7832bd92406af61bccb')
b2sums=('d70f5f53bb9f77e3d8793c3bb2fb8eae1ee63e088fb6df6896c8667a3a2f70ce125dae552eb7009384edad9a616c7d2363f5ec83f4ba32e1ee2d0a8b89351bf4')
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"
}
|