summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: c2cc298470ba5321b2c82c98ed488271a460ee4e (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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
# Maintainer: Guoyi Zhang <guoyizhang at malacology dot net>

_pkgname=propr
_pkgver=4.2.6
pkgname=r-${_pkgname,,}
pkgver=4.2.6
pkgrel=7
pkgdesc='Calculating Proportionality Between Vectors of Compositional Data'
arch=('x86_64')
url="https://cran.r-project.org/package=${_pkgname}"
license=('GPL')
depends=(
  r
  r-fastcluster
  r-ggplot2
  r-igraph
  r-rcpp
)
optdepends=(
  r-aldex2
  r-biobase
  r-cccrm
  r-compositions
  r-data.table
  r-datasets
  r-ggdendro
  r-grid
  r-knitr
  r-limma
  r-parallel
  r-plotly
  r-reshape2
  r-rgl
  r-rmarkdown
  r-sdmtools
  r-testthat
  r-vegan
)
source=("https://cran.r-project.org/src/contrib/Archive/${_pkgname}/${_pkgname}_${_pkgver}.tar.gz")
sha256sums=('cf4dca710a3e6d1ab297fc1f5b0e0be85f0e36e6885da014fd099bcfef7ff099')

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: