diff options
author | Sukanka | 2022-06-06 11:10:43 +0800 |
---|---|---|
committer | Sukanka | 2022-06-06 11:10:43 +0800 |
commit | 17448ebab10f4e0a6e24b2fb6eb3a25591d75cd5 (patch) | |
tree | 3018944e1cc8abb25ec56e6ae1e8baab1b619347 | |
download | aur-17448ebab10f4e0a6e24b2fb6eb3a25591d75cd5.tar.gz |
add r-ggridges
-rw-r--r-- | .SRCINFO | 25 | ||||
-rw-r--r-- | PKGBUILD | 41 |
2 files changed, 66 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..7f2e1fedce75 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,25 @@ +pkgbase = r-ggridges + pkgdesc = Ridgeline Plots in 'ggplot2' + pkgver = 0.5.3 + pkgrel = 4 + url = https://cran.r-project.org/package=ggridges + arch = any + license = GPL + depends = r + depends = r-ggplot2 + depends = r-plyr + depends = r-scales + depends = r-withr + optdepends = r-covr + optdepends = r-dplyr + optdepends = r-forcats + optdepends = r-ggplot2movies + optdepends = r-knitr + optdepends = r-patchwork + optdepends = r-rmarkdown + optdepends = r-testthat + optdepends = r-vdiffr + source = https://cran.r-project.org/src/contrib/ggridges_0.5.3.tar.gz + sha256sums = f5eafab17f2d4a8a2a83821ad3e96ae7c26b62bbce9de414484c657383c7b42e + +pkgname = r-ggridges diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..fd8819dc2576 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,41 @@ +# Maintainer: Guoyi Zhang <guoyizhang at malacology dot net> + +_pkgname=ggridges +_pkgver=0.5.3 +pkgname=r-${_pkgname,,} +pkgver=0.5.3 +pkgrel=4 +pkgdesc="Ridgeline Plots in 'ggplot2'" +arch=('any') +url="https://cran.r-project.org/package=${_pkgname}" +license=('GPL') +depends=( + r + r-ggplot2 + r-plyr + r-scales + r-withr +) +optdepends=( + r-covr + r-dplyr + r-forcats + r-ggplot2movies + r-knitr + r-patchwork + r-rmarkdown + r-testthat + r-vdiffr +) +source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz") +sha256sums=('f5eafab17f2d4a8a2a83821ad3e96ae7c26b62bbce9de414484c657383c7b42e') + +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: |