Packages/BioArchLinux/r-mofadata/PKGBUILD

33 lines
891 B
Bash

# Maintainer: Pekka Ristola <pekkarr [at] protonmail [dot] com>
_pkgname=MOFAdata
_pkgver=1.20.0
pkgname=r-${_pkgname,,}
pkgver=${_pkgver//-/.}
pkgrel=1
pkgdesc="Data package for Multi-Omics Factor Analysis (MOFA)"
arch=(any)
url="https://bioconductor.org/packages/$_pkgname"
license=('LGPL-3.0-only')
depends=(
r
)
optdepends=(
r-biocstyle
r-knitr
r-multiassayexperiment
r-rmarkdown
)
source=("https://bioconductor.org/packages/release/data/experiment/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
md5sums=('461fae5c3033e640e76f7c91e1b4595b')
b2sums=('110091f395c35e4976e259783560e264ed9260fc1a51a3a0bcbac5e9fc2fab7f7f7f10e33e191de611aa054beb2780cd802df0bd5a88b5e365e317470a1b9950')
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"
}