blob: c13e671eb83b8d74df10aa563c972df3c8636051 (
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
|
# Maintainer: Guoyi Zhang <guoyizhang at malacology dot net>
_pkgname=MEIGOR
_pkgver=1.38.0
pkgname=r-${_pkgname,,}
pkgver=${_pkgver//-/.}
pkgrel=1
pkgdesc="MEtaheuristics for bIoinformatics Global Optimization"
arch=(any)
url="https://bioconductor.org/packages/$_pkgname"
license=('GPL-3.0-only')
depends=(
r-cnorode
r-desolve
r-rsolnp
r-snowfall
)
optdepends=(
r-biocstyle
r-cellnoptr
r-knitr
)
source=("https://bioconductor.org/packages/release/bioc/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
md5sums=('12d3ae4baf1869a9f067fa4090233de4')
b2sums=('51f8f91e390a8bd4f2e9ee0789a7f64c9aaeacc3b235c1fd350a7fa35734f4e717caa7d3f9578e3b5a5a4f8ec59ba6613f956c18c65d1ac80ccd97f5fbcdff1f')
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"
}
|