summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: f93e9945e595c11e88451c99eebf4151e34d106a (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
64
65
66
67
68
69
70
71
72
73
74
75
# Maintainer: Guoyi Zhang <guoyizhang at malacology dot net>

_pkgname=NoRCE
_pkgver=1.16.0
pkgname=r-${_pkgname,,}
pkgver=1.16.0
pkgrel=1
pkgdesc='NoRCE: Noncoding RNA Sets Cis Annotation and Enrichment'
arch=('any')
url="https://bioconductor.org/packages/${_pkgname}"
license=('MIT')
depends=(
  r
  r-annotationdbi
  r-biomart
  r-dbi
  r-dbplyr
  r-dplyr
  r-genomeinfodb
  r-genomicfeatures
  r-genomicranges
  r-ggplot2
  r-go.db
  r-igraph
  r-iranges
  r-keggrest
  r-png
  r-rcurl
  r-reactome.db
  r-readr
  r-reshape2
  r-rsqlite
  r-rtracklayer
  r-rwikipathways
  r-s4vectors
  r-stringr
  r-summarizedexperiment
  r-tidyr
  r-zlibbioc
)
optdepends=(
  r-biocgenerics
  r-knitr
  r-markdown
  r-methods
  r-org.ce.eg.db
  r-org.dm.eg.db
  r-org.dr.eg.db
  r-org.hs.eg.db
  r-org.mm.eg.db
  r-org.rn.eg.db
  r-org.sc.sgd.db
  r-rmarkdown
  r-testthat
  r-txdb.celegans.ucsc.ce11.refgene
  r-txdb.dmelanogaster.ucsc.dm6.ensgene
  r-txdb.drerio.ucsc.danrer10.refgene
  r-txdb.hsapiens.ucsc.hg19.knowngene
  r-txdb.hsapiens.ucsc.hg38.knowngene
  r-txdb.mmusculus.ucsc.mm10.knowngene
  r-txdb.rnorvegicus.ucsc.rn6.refgene
)
source=("https://bioconductor.org/packages/release/bioc/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
sha256sums=('7678e903cdc62c43d8d4037a381d24b6f7aa30ecc2b2b956b5442d27eb1f2236')

build() {
  R CMD INSTALL ${_pkgname}_${_pkgver}.tar.gz -l "${srcdir}"
}

package() {
  install -dm0755 "${pkgdir}/usr/lib/R/library"
  cp -a --no-preserve=ownership "${_pkgname}" "${pkgdir}/usr/lib/R/library"
  install -Dm644 "${_pkgname}/LICENSE" -t "${pkgdir}/usr/share/licenses/${pkgname}"
}
# vim:set ts=2 sw=2 et: