diff options
author | Sukanka | 2022-06-06 10:59:12 +0800 |
---|---|---|
committer | Sukanka | 2022-06-06 10:59:12 +0800 |
commit | 9e9c6004872c6c72e48ea6c21a4de35ce131e41d (patch) | |
tree | a0fa1c200ff945538575ecb89d593d07842671da | |
download | aur-9e9c6004872c6c72e48ea6c21a4de35ce131e41d.tar.gz |
add r-ggcorrplot
-rw-r--r-- | .SRCINFO | 16 | ||||
-rw-r--r-- | PKGBUILD | 32 |
2 files changed, 48 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..72f7e23e6e4a --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,16 @@ +pkgbase = r-ggcorrplot + pkgdesc = Visualization of a Correlation Matrix using 'ggplot2' + pkgver = 0.1.3 + pkgrel = 4 + url = https://cran.r-project.org/package=ggcorrplot + arch = any + license = GPL + depends = r + depends = r-ggplot2 + depends = r-reshape2 + optdepends = r-knitr + optdepends = r-spelling + source = https://cran.r-project.org/src/contrib/ggcorrplot_0.1.3.tar.gz + sha256sums = 2b9085b72b14e616edb3cda43159dfcb68675ea7389fbaa8a041f920c2a72942 + +pkgname = r-ggcorrplot diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..b2506f99f2b1 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,32 @@ +# Maintainer: Guoyi Zhang <guoyizhang at malacology dot net> + +_pkgname=ggcorrplot +_pkgver=0.1.3 +pkgname=r-${_pkgname,,} +pkgver=0.1.3 +pkgrel=4 +pkgdesc="Visualization of a Correlation Matrix using 'ggplot2'" +arch=('any') +url="https://cran.r-project.org/package=${_pkgname}" +license=('GPL') +depends=( + r + r-ggplot2 + r-reshape2 +) +optdepends=( + r-knitr + r-spelling +) +source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz") +sha256sums=('2b9085b72b14e616edb3cda43159dfcb68675ea7389fbaa8a041f920c2a72942') + +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: |