summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 4953ea74a300513a3f7f653e0aba879fcaaef99e (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
44
45
46
47
48
49
50
51
52
# Maintainer: Guoyi Zhang <guoyizhang at malacology dot net>

_pkgname=metagene
_pkgver=2.31.0
pkgname=r-${_pkgname,,}
pkgver=${_pkgver//-/.}
pkgrel=2
pkgdesc="A package to produce metagene plots"
arch=(any)
url="https://bioconductor.org/packages/$_pkgname"
license=('Artistic-2.0')
depends=(
  r-biocparallel
  r-data.table
  r-ensdb.hsapiens.v86
  r-ensembldb
  r-genomeinfodb
  r-genomicalignments
  r-genomicfeatures
  r-genomicranges
  r-ggplot2
  r-gplots
  r-iranges
  r-magrittr
  r-matrixstats
  r-purrr
  r-r6
  r-rsamtools
  r-rtracklayer
  r-stringr
)
optdepends=(
  r-biocgenerics
  r-biocstyle
  r-knitr
  r-rmarkdown
  r-runit
  r-similarpeak
)
source=("https://bioconductor.org/packages/3.17/bioc/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
md5sums=('4709f553e306643ec3d37860f4092ddc')
b2sums=('eea5068082af2b3e785b155c257df1638c3599ddfea17fbb09b59aa995dfbddfa7c801a9f14fad5732d8d927a50ce4747217249c7b939c081c6ada4959f5e2d2')

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