blob: 6b158e17e13762215b2402b7a125a7a22aa73e8e (
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
|
# Maintainer: Guoyi Zhang <guoyizhang at malacology dot net>
_pkgname=ggfortify
_pkgver=0.4.17
pkgname=r-${_pkgname,,}
pkgver=0.4.17
pkgrel=1
pkgdesc='Data Visualization Tools for Statistical Analysis Results'
arch=('any')
url="https://cran.r-project.org/package=${_pkgname}"
license=('MIT')
depends=(
r
r-dplyr
r-ggplot2
r-gridextra
r-scales
r-stringr
r-tibble
r-tidyr
)
optdepends=(
r-changepoint
r-cluster
r-fgarch
r-forecast
r-ggrepel
r-glmnet
r-grdevices
r-kfas
r-knitr
r-lfda
r-lintr
r-mapdata
r-markdown
r-mass
r-mswm
r-nlme
r-raster
r-rocr
r-sp
r-stats
r-strucchange
r-survival
r-testthat
r-timeseries
r-tseries
r-utils
r-vars
r-xts
r-zoo
)
source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
sha256sums=('4f75a5567e0cb5f8d6340bc5537d0131c8a6c6a705c2c4305faaa6b4c6dcebf9')
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"
install -Dm644 "${_pkgname}/LICENSE" -t "${pkgdir}/usr/share/licenses/${pkgname}"
}
# vim:set ts=2 sw=2 et:
|