summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 7c82e6bc7c3cbff92fe87c4096700be5b491c084 (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
# Maintainer: Guoyi Zhang <guoyizhang at malacology dot net>

_pkgname=impute
_pkgver=1.76.0
pkgname=r-${_pkgname,,}
pkgver=${_pkgver//-/.}
pkgrel=2
pkgdesc="Imputation for microarray data"
arch=(x86_64)
url="https://bioconductor.org/packages/$_pkgname"
license=(GPL2)
depends=(
  r
)
makedepends=(
  gcc-fortran
)
source=("https://bioconductor.org/packages/release/bioc/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
md5sums=('8e974dcc31c3507ebcc8984b2d7943f9')
b2sums=('8fc3aab7ae4ab318748a9dea9030c7987d73266cddd1a7d39d06de871be6589fa268dbfa1fe19f4a61da58e059ce4711ae31c413237e3d4dbc9552dbad1c4ea6')

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"
}