blob: 48cd4ba1f77d23bfd9e63327e97be66f97108deb (
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
|
# Maintainer: Guoyi Zhang <guoyizhang at malacology dot net>
# Contributor: Viktor Drobot (aka dviktor) linux776 [at] gmail [dot] com
_pkgname=VegaMC
_pkgver=3.42.0
pkgname=r-${_pkgname,,}
pkgver=3.42.0
pkgrel=1
pkgdesc='VegaMC: A Package Implementing a Variational Piecewise Smooth Model for Identification of Driver Chromosomal Imbalances in Cancer'
arch=('x86_64')
url="https://bioconductor.org/packages/${_pkgname}"
license=('GPL')
depends=(
r
r-biobase
r-biomart
)
makedepends=(
patch
)
source=("https://bioconductor.org/packages/release/bioc/src/contrib/${_pkgname}_${_pkgver}.tar.gz"
"fix_globals.patch")
sha256sums=('513afd502486787b5dba239aeefc749c7eca2b232f98814e92e6a1b33ad35c4b'
'a45787150bdf297482a8623da5ab7257adb2828108d797a688abd73e87490233')
#prepare() {
# cd "${srcdir}/${_pkgname}"
# fix global variables overlap until it will be fixed in upstream
# patch -Np0 -i "${srcdir}/fix_globals.patch"
#}
build() {
# create staging directory for installation
mkdir -p "${srcdir}/staged"
R CMD INSTALL "${_pkgname}" -l "${srcdir}/staged"
}
package() {
install -dm0755 "${pkgdir}/usr/lib/R/library"
cp -a --no-preserve=ownership "${srcdir}/staged/${_pkgname}" "${pkgdir}/usr/lib/R/library"
}
# vim:set ts=2 sw=2 et:
|