summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 7ee5fdb7b118045a0e04e5e8463ff5cb3e82189a (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
# Contributor: Viktor Drobot (aka dviktor) linux776 [at] gmail [dot] com
# Contributor: Grey Christoforo <first name at last name dot net>

_bcname=SummarizedExperiment
_bcver=1.16.1
pkgname=r-${_bcname,,}
pkgver=${_bcver//[:-]/.}
pkgrel=1
pkgdesc="SummarizedExperiment container"
arch=(any)
url="https://bioconductor.org/packages/release/bioc/html/${_bcname}.html"
license=(Artistic-2.0)
depends=('r>=3.2' 'r-genomicranges>=1.33.6' r-biobase 'r-delayedarray>=0.3.20' 'r-biocgenerics>=0.15.3' 'r-s4vectors>=0.23.20' 'r-iranges>=2.13.16' 'r-genomeinfodb>=1.13.1')
optdepends=(r-annotate r-annotationdbi r-hgu95av2.db r-genomicfeatures r-txdb.hsapiens.ucsc.hg19.knowngene r-biocstyle r-knitr r-rmarkdown r-digest r-jsonlite r-rhdf5 r-hdf5array r-airway r-runit r-testthat)
source=("https://bioconductor.org/packages/release/bioc/src/contrib/${_bcname}_${_bcver}.tar.gz")
md5sums=('33fbb7b4c9bad189ecfa7b0e3830d0d9')

build() {
  cd "${srcdir}"

  R CMD INSTALL ${_bcname}_${_bcver}.tar.gz -l ${srcdir}
}

package() {
  cd "${srcdir}"

  install -dm0755 "${pkgdir}/usr/lib/R/library"
  cp -a --no-preserve=ownership "${_bcname}" "${pkgdir}/usr/lib/R/library"
}