blob: 9e24ca11882ba3e95971c74e0e380a9d0efbb1f2 (
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=graph
_pkgver=1.88.1
pkgname=r-${_pkgname,,}
pkgver=${_pkgver//-/.}
pkgrel=1
pkgdesc="A package to handle graph data structures"
arch=(x86_64)
url="https://bioconductor.org/packages/$_pkgname"
license=('Artistic-2.0')
depends=(
r-biocgenerics
)
optdepends=(
r-biocstyle
r-knitr
r-rbgl
r-runit
r-sparsem
r-xml
)
source=("https://bioconductor.org/packages/release/bioc/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
md5sums=('957cfe27684d8990de6370ae0e436e8c')
b2sums=('d571f005db1491dbddd3bda1d60d1fedd193c70249ed246000a4f5677eefe9a26c5515efc2d4bc8475c7cd992adabca1e284a95545cda3a0379a757e75ed8d21')
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"
}
|