blob: 58c8d08560292e230d2e78183ac3a5a426ea68c1 (
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
|
# Maintainer: Guoyi Zhang <guoyizhang at malacology dot net>
_pkgname=SCATE
_pkgver=1.12.0
pkgname=r-${_pkgname,,}
pkgver=${_pkgver//-/.}
pkgrel=1
pkgdesc="Single-cell ATAC-seq Signal Extraction and Enhancement"
arch=(any)
url="https://bioconductor.org/packages/$_pkgname"
license=('MIT')
depends=(
r-genomicalignments
r-genomicranges
r-mclust
r-preprocesscore
r-rtsne
r-scatedata
r-splines2
r-xgboost
)
optdepends=(
r-ggplot2
r-knitr
r-rmarkdown
)
source=("https://bioconductor.org/packages/release/bioc/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
md5sums=('877e80a925c1b76cc1a759dd7df2c788')
b2sums=('490aa800ec11584fa86940c011659fa0f0ae27cbedf66e9f2e087df429f7e09de093b14472ec6496192e261a9ef9d4e4d662d46c7969dabd595ea2cfb55bea0b')
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"
install -d "$pkgdir/usr/share/licenses/$pkgname"
ln -s "/usr/lib/R/library/$_pkgname/LICENSE" "$pkgdir/usr/share/licenses/$pkgname"
}
|