diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 47 |
1 files changed, 47 insertions, 0 deletions
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: |