summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: e207978f2930c2e136f9574e548e23e60ba9cc7f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Maintainer: frichtlm <frichtlm@gmail.com>
# Contributor: wagnerflo <florian@wagner-flo.net>
_cranname=ggplot2
_cranver=3.2.1
pkgname=r-$_cranname
pkgver=${_cranver}
pkgrel=1
pkgdesc="Create Elegant Data Visualisations Using the Grammar of Graphics"
url="https://cran.r-project.org/package=ggplot2"
arch=('i686' 'x86_64')
license=('GPL-2')
depends=('r>=3.2' 'r-digest' 'r-gtable>=0.1.1' 'r-lazyeval' 'r-reshape2' 'r-rlang>=0.3.0' 'r-scales>=0.5.0' 'r-tibble' 'r-viridislite' 'r-withr>=2.0.0')
optdepends=('r-covr' 'r-dplyr' 'r-ggplot2movies' 'r-hexbin' 'r-hmisc' 'r-knitr' 'r-lattice' 'r-mapproj' 'r-maps' 'r-maptools' 'r-multcomp' 'r-munsell' 'r-nlme' 'r-profvis' 'r-quantreg' 'r-rgeos' 'r-rmarkdown' 'r-rpart' 'r-sf' 'r-svglite' 'r-testthat' 'r-vdiffr')
source=("http://cran.r-project.org/src/contrib/${_cranname}_${_cranver}.tar.gz")
md5sums=('c25ec933439e5219fa3fa925d83868be')

package() {
    mkdir -p ${pkgdir}/usr/lib/R/library
    cd ${srcdir}
    R CMD INSTALL ${_cranname} -l ${pkgdir}/usr/lib/R/library
}