mirror of
https://github.com/BioArchLinux/Packages.git
synced 2025-03-10 12:02:42 +00:00
37 lines
1.1 KiB
Bash
37 lines
1.1 KiB
Bash
# Maintainer: Guoyi Zhang <guoyizhang at malacology dot net>
|
|
# Contributor: peippo <christoph+aur@christophfink.com>
|
|
# Contributor: Viktor Drobot (aka dviktor) linux776 [at] gmail [dot] com
|
|
|
|
_pkgname=MatrixGenerics
|
|
_pkgver=1.18.1
|
|
pkgname=r-${_pkgname,,}
|
|
pkgver=${_pkgver//-/.}
|
|
pkgrel=1
|
|
pkgdesc="S4 Generic Summary Statistic Functions that Operate on Matrix-Like Objects"
|
|
arch=(any)
|
|
url="https://bioconductor.org/packages/$_pkgname"
|
|
license=('Artistic-2.0')
|
|
depends=(
|
|
r-matrixstats
|
|
)
|
|
optdepends=(
|
|
r-delayedarray
|
|
r-delayedmatrixstats
|
|
r-sparsearray
|
|
r-sparsematrixstats
|
|
r-summarizedexperiment
|
|
r-testthat
|
|
)
|
|
source=("https://bioconductor.org/packages/release/bioc/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
|
|
md5sums=('6b7ad7b1cb868b6d1d4926a064f92dba')
|
|
b2sums=('06dcd4082bb83fa3c2e0bd3559d11441fc93e38232384681fbce71cb3abafc70147e5ae2a98d7fcc8a67d5f4c38bcd25e92afa82dc9f737499ce37099ce29085')
|
|
|
|
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"
|
|
}
|