blob: 073813673a1cafbfa16dbb28eeab38dc05d5ce05 (
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
|
# Maintainer: Pekka Ristola <pekkarr [at] protonmail [dot] com>
# Contributor: Guoyi Zhang <guoyizhang at malacology dot net>
_pkgname=epiR
_pkgver=2.0.76
pkgname=r-${_pkgname,,}
pkgver=${_pkgver//-/.}
pkgrel=1
pkgdesc="Tools for the Analysis of Epidemiological Data"
arch=(any)
url="https://cran.r-project.org/package=$_pkgname"
license=('GPL-2.0-or-later')
depends=(
r-biasedurn
r-flextable
r-lubridate
r-officer
r-pander
r-sf
r-zoo
)
optdepends=(
r-dplyr
r-ggplot2
r-knitr
r-plyr
r-rcolorbrewer
r-rmarkdown
r-scales
r-sp
r-spatstat
r-spdata
r-tidyr
)
source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
md5sums=('4c8ec82cdd5f5adbc15c618a5e2ac1b3')
b2sums=('90911e33c5ea4208e8307ccf7b1f56ffb1a7a6fe0d9f04deddf5bcc37dede8c4f05241066457fbc9f1096d960cb8224770316a092afe310a8cecf730341e1182')
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"
}
|