summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 73efdb6c1fb2322c223e3074c251524ed541aee5 (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
# Maintainer: Pekka Ristola <pekkarr [at] protonmail [dot] com>
# Contributor: sukanka <su975853527@gmail.com>

_pkgname=hgu95av2cdf
_pkgver=2.18.0
pkgname=r-${_pkgname,,}
pkgver=${_pkgver//-/.}
pkgrel=6
pkgdesc="A package containing an environment representing the HG_U95Av2.CDF file"
arch=(any)
url="https://bioconductor.org/packages/$_pkgname"
license=('LGPL-2.0-or-later')
depends=(
  r-annotationdbi
)
source=("https://bioconductor.org/packages/release/data/annotation/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
md5sums=('026bae2f76433593f75ca6c79bc9a9d0')
b2sums=('bf0c3f1edbcfae649b7265f727fab8a6cac73ec4fadfaad6148a1d8325f936531bc41d9dbe476e272d932d98bd54942f78ffbe1488263a1260247e34667f8fdd')

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