blob: 6294cfcb43050551176ded3f104d76bf30a259a0 (
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
|
# Maintainer: peippo <christoph+aur@christophfink.com>
# Contributor: Viktor Drobot (aka dviktor) linux776 [at] gmail [dot] com
# Contributor: Grey Christoforo <first name at last name dot net>
_bcname=dada2
_bcver=1.30.0
pkgname=r-${_bcname,,}
pkgver=${_bcver//[:-]/.}
pkgrel=1
pkgdesc="Accurate, high-resolution sample inference from amplicon sequencing data"
arch=(i686 x86_64)
url="https://bioconductor.org/packages/release/bioc/html/${_bcname}.html"
license=(LGPL2)
depends=(
"r>=3.4.0"
"r-biocgenerics>=0.22.0"
"r-biostrings>=2.42.1"
"r-ggplot2>=2.1.0"
"r-iranges>=2.6.0"
"r-rcpp>=0.12.0"
"r-rcppparallel>=4.3.0"
"r-reshape2>=1.4.1"
"r-shortread>=1.32.0"
"r-xvector>=0.16.0"
)
makedepends=(make)
optdepends=(
r-biocstyle
r-knitr
r-rmarkdown
)
source=("https://bioconductor.org/packages/release/bioc/src/contrib/${_bcname}_${_bcver}.tar.gz")
sha256sums=("c6653fe77c3d62dd91207bbbf6641ec143fb8a498967e240a97af26de7e27667")
build() {
R CMD INSTALL ${_bcname}_${_bcver}.tar.gz -l "${srcdir}"
}
package() {
install -dm0755 "${pkgdir}/usr/lib/R/library"
cp -a --no-preserve=ownership "${_bcname}" "${pkgdir}/usr/lib/R/library"
if [[ -f "${_bcname}/LICENSE" ]]; then
install -Dm0644 "${_bcname}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
fi
}
|