diff options
author | Sukanka | 2022-06-06 10:57:14 +0800 |
---|---|---|
committer | Sukanka | 2022-06-06 10:57:14 +0800 |
commit | ed1cd65869b058186c398645217a9bb9101127ff (patch) | |
tree | 4b28804bc20aad3ddab484f5c144bf38135f5319 | |
download | aur-ed1cd65869b058186c398645217a9bb9101127ff.tar.gz |
add r-ggalluvial
-rw-r--r-- | .SRCINFO | 31 | ||||
-rw-r--r-- | PKGBUILD | 47 |
2 files changed, 78 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..bb3ccaf90447 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,31 @@ +pkgbase = r-ggalluvial + pkgdesc = Alluvial Plots in 'ggplot2' + pkgver = 0.12.3 + pkgrel = 4 + url = https://cran.r-project.org/package=ggalluvial + arch = any + license = GPL + depends = r + depends = r-dplyr + depends = r-ggplot2 + depends = r-lazyeval + depends = r-rlang + depends = r-tidyr + depends = r-tidyselect + optdepends = r-alluvial + optdepends = r-babynames + optdepends = r-ggfittext + optdepends = r-ggrepel + optdepends = r-grid + optdepends = r-htmltools + optdepends = r-knitr + optdepends = r-rmarkdown + optdepends = r-sessioninfo + optdepends = r-shiny + optdepends = r-sp + optdepends = r-testthat + optdepends = r-vdiffr + source = https://cran.r-project.org/src/contrib/ggalluvial_0.12.3.tar.gz + sha256sums = 032e5959be201df54b19ebe2bc2e3f900a48375cdd0b517594dd8fd75fb26a56 + +pkgname = r-ggalluvial diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..7e35d7752ec7 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,47 @@ +# Maintainer: Guoyi Zhang <guoyizhang at malacology dot net> + +_pkgname=ggalluvial +_pkgver=0.12.3 +pkgname=r-${_pkgname,,} +pkgver=0.12.3 +pkgrel=4 +pkgdesc="Alluvial Plots in 'ggplot2'" +arch=('any') +url="https://cran.r-project.org/package=${_pkgname}" +license=('GPL') +depends=( + r + r-dplyr + r-ggplot2 + r-lazyeval + r-rlang + r-tidyr + r-tidyselect +) +optdepends=( + r-alluvial + r-babynames + r-ggfittext + r-ggrepel + r-grid + r-htmltools + r-knitr + r-rmarkdown + r-sessioninfo + r-shiny + r-sp + r-testthat + r-vdiffr +) +source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz") +sha256sums=('032e5959be201df54b19ebe2bc2e3f900a48375cdd0b517594dd8fd75fb26a56') + +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: |