summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: c5789202bc47c1a5496461644fa4ba6bf5437f62 (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
36
37
38
39
40
41
42
43
# Maintainer: Guoyi Zhang <guoyizhang at malacology dot net>

_pkgname=genbankr
_pkgver=1.27.0
pkgname=r-${_pkgname,,}
pkgver=${_pkgver//-/.}
pkgrel=2
pkgdesc="Parsing GenBank files into semantically useful objects"
arch=(any)
url="https://bioconductor.org/packages/$_pkgname"
license=('Artistic-2.0')
depends=(
  r-biobase
  r-biocgenerics
  r-biostrings
  r-genomeinfodb
  r-genomicfeatures
  r-genomicranges
  r-iranges
  r-rtracklayer
  r-s4vectors
  r-variantannotation
)
optdepends=(
  r-biocstyle
  r-knitr
  r-rentrez
  r-rmarkdown
  r-runit
)
source=("https://bioconductor.org/packages/3.17/bioc/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
md5sums=('4aa7435552e5594fedc06c9f58165bab')
b2sums=('a13e0720bd39f7c4c1c95b02fa85b76fdef6c5cdf4c67e78fd51e00b183041bd3f26a18ebab136d82153bf698aa470717bddfd863ea3bd3caf79b126739d008c')

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"
}