blob: 4801dae6afdb1a99df32ef50238111c789604d73 (
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.86.0
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=('07396c4ddd5bb5138810ee8f2e8bd969')
b2sums=('1b39eb9dfaae31a7eb0caa54f85d059bd6ee627a71a9da9a42239388debadfed7b0a90e2afea3c542d3138fa55a70d563c04b232a5b99c84d5a7bc22b7242a81')
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"
}
|