summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 31fe39a1fcfbaae532ba4dc8a85f827cc79bdcac (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
# Maintainer: Pekka Ristola <pekkarr [at] protonmail [dot] com>

_pkgname=EnsDb.Hsapiens.v79
_pkgver=2.99.0
pkgname=r-${_pkgname,,}
pkgver=${_pkgver//-/.}
pkgrel=3
pkgdesc="Ensembl based annotation package"
arch=(any)
url="https://bioconductor.org/packages/$_pkgname"
license=('Artistic-2.0')
depends=(
  r-ensembldb
)
source=("https://bioconductor.org/packages/release/data/annotation/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
md5sums=('16b5629805c07649b2aa501d34fcc588')
b2sums=('bb754176e749805ef2c8199a4abac749386a2fd9fe146fdb422f27b50b0cca17e4d7b20b42f63555a19469cb51bcc055168f3551829eafb81b5b3e03b6476370')

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