summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 06a7ac4ce7e7fddbabc280362e1dc1b86bb85988 (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
53
54
55
56
57
58
59
60
61
62
63
# Maintainer: Guoyi Zhang <guoyizhang at malacology dot net>

_pkgname=ribosomeProfilingQC
_pkgver=1.16.0
pkgname=r-${_pkgname,,}
pkgver=${_pkgver//-/.}
pkgrel=1
pkgdesc="Ribosome Profiling Quality Control"
arch=(any)
url="https://bioconductor.org/packages/$_pkgname"
license=('GPL-3.0-or-later')
depends=(
  r-annotationdbi
  r-biocgenerics
  r-biostrings
  r-bsgenome
  r-edaseq
  r-genomeinfodb
  r-genomicalignments
  r-genomicfeatures
  r-genomicranges
  r-ggextra
  r-ggfittext
  r-ggplot2
  r-ggrepel
  r-iranges
  r-motifstack
  r-rsamtools
  r-rsubread
  r-rtracklayer
  r-ruvseq
  r-s4vectors
  r-scales
  r-txdbmaker
  r-xvector
)
optdepends=(
  r-ashr
  r-biobase
  r-biocstyle
  r-bsgenome.drerio.ucsc.danrer10
  r-deseq2
  r-edger
  r-knitr
  r-limma
  r-rmarkdown
  r-runit
  r-testthat
  r-vsn
)
source=("https://bioconductor.org/packages/release/bioc/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
md5sums=('d633d56b98baef25b32f80e354eb9e8f')
b2sums=('e2e0d0c504111989bb2805be01036f84f7e83c7bb8648d8b611822a4de69313d5c3cb6a0a9d8c794877c5bb2ad80589d32834fb3b9f6d3f777d1c8fbfb5d6b9b')

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