summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorSukanka2022-06-06 06:59:51 +0800
committerSukanka2022-06-06 06:59:51 +0800
commit7ed7e5080686ede8b4a7a8b411f1c6a1b6c2ae1d (patch)
tree38627a0a770e35c3179dda3ead2ca6c76ca98e5d
downloadaur-7ed7e5080686ede8b4a7a8b411f1c6a1b6c2ae1d.tar.gz
add r-condformat
-rw-r--r--.SRCINFO28
-rw-r--r--PKGBUILD45
2 files changed, 73 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..913dd996a11
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,28 @@
+pkgbase = r-condformat
+ pkgdesc = Conditional Formatting in Data Frames
+ pkgver = 0.9.0
+ pkgrel = 4
+ url = https://cran.r-project.org/package=condformat
+ arch = any
+ license = BSD
+ depends = r
+ depends = r-dplyr
+ depends = r-gridextra
+ depends = r-gtable
+ depends = r-htmltable
+ depends = r-htmltools
+ depends = r-knitr
+ depends = r-magrittr
+ depends = r-openxlsx
+ depends = r-rlang
+ depends = r-rmarkdown
+ depends = r-scales
+ depends = r-tibble
+ depends = r-tidyselect
+ optdepends = r-promises
+ optdepends = r-shiny
+ optdepends = r-testthat
+ source = https://cran.r-project.org/src/contrib/condformat_0.9.0.tar.gz
+ sha256sums = 0ba040378d5db99078d27c9a4448ca3a6423d898a6a6e426a3b1c865b3bd3994
+
+pkgname = r-condformat
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..8b7950c4078
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,45 @@
+# Maintainer: Guoyi Zhang <guoyizhang at malacology dot net>
+
+_pkgname=condformat
+_pkgver=0.9.0
+pkgname=r-${_pkgname,,}
+pkgver=0.9.0
+pkgrel=4
+pkgdesc='Conditional Formatting in Data Frames'
+arch=('any')
+url="https://cran.r-project.org/package=${_pkgname}"
+license=('BSD')
+depends=(
+ r
+ r-dplyr
+ r-gridextra
+ r-gtable
+ r-htmltable
+ r-htmltools
+ r-knitr
+ r-magrittr
+ r-openxlsx
+ r-rlang
+ r-rmarkdown
+ r-scales
+ r-tibble
+ r-tidyselect
+)
+optdepends=(
+ r-promises
+ r-shiny
+ r-testthat
+)
+source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
+sha256sums=('0ba040378d5db99078d27c9a4448ca3a6423d898a6a6e426a3b1c865b3bd3994')
+
+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"
+ install -Dm644 "${_pkgname}/LICENSE" -t "${pkgdir}/usr/share/licenses/${pkgname}"
+}
+# vim:set ts=2 sw=2 et: