blob: 8ee178e4e33e3aad72e4bf04381853090d400f19 (
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
|
# Maintainer: Guoyi Zhang <guoyizhang at malacology dot net>
_pkgname=SBMLR
_pkgver=2.2.0
pkgname=r-${_pkgname,,}
pkgver=${_pkgver//-/.}
pkgrel=1
pkgdesc="SBML-R Interface and Analysis Tools"
arch=(any)
url="https://bioconductor.org/packages/$_pkgname"
license=('GPL-2.0-only')
depends=(
r-desolve
r-xml
)
optdepends=(
r-rsbml
)
source=("https://bioconductor.org/packages/release/bioc/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
md5sums=('46faae1fb0b5e49168f88e8cb67ab6b0')
b2sums=('83ca31413e21a5eaf27fe2e4010b4257c2e796916e1ae2e9f1db4aeafd1e67ec261a02c60545488ad2437f424d6f81ef9571784cf8e8eb27ca23a8bdfe271c81')
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"
}
|