blob: 873ff558bb336c83a53f7c9bad372d3c397305f9 (
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.90.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=('78faa68dbf62b36e2c453f5767be03f3')
b2sums=('1c72a622b0125da4e65e617b1fa1e39b6e4840febd9c948e2a6be64cf7aec0b3eaec893fb1409ab2e5a40286ce6a2bc68eba8a120e046485c854f9bddf4795ff')
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"
}
|