mirror of
https://github.com/BioArchLinux/Packages.git
synced 2025-03-10 12:02:42 +00:00
37 lines
837 B
Bash
37 lines
837 B
Bash
# system requirements: C++11
|
|
# Maintainer: Guoyi Zhang <guoyizhang at malacology dot net>
|
|
|
|
_pkgname=proxyC
|
|
_pkgver=0.3.4
|
|
pkgname=r-${_pkgname,,}
|
|
pkgver=0.3.4
|
|
pkgrel=1
|
|
pkgdesc='Computes Proximity in Large Sparse Matrices'
|
|
arch=('x86_64')
|
|
url="https://cran.r-project.org/package=${_pkgname}"
|
|
license=('GPL')
|
|
depends=(
|
|
r
|
|
r-rcpp
|
|
r-rcpparmadillo
|
|
r-rcppparallel
|
|
)
|
|
optdepends=(
|
|
r-entropy
|
|
r-knitr
|
|
r-proxy
|
|
r-rmarkdown
|
|
r-testthat
|
|
)
|
|
source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
|
|
sha256sums=('f39d1d3d34b4e26694e3916002ea370b2f4e745c0992e718bb024ed03a2b78ea')
|
|
|
|
build() {
|
|
R CMD INSTALL ${_pkgname}_${_pkgver}.tar.gz -l "${srcdir}"
|
|
}
|
|
|
|
package() {
|
|
install -dm0755 "${pkgdir}/usr/lib/R/library"
|
|
cp -a --no-preserve=ownership "${_pkgname}" "${pkgdir}/usr/lib/R/library"
|
|
}
|
|
# vim:set ts=2 sw=2 et:
|