diff options
author | Sukanka | 2022-06-06 12:26:43 +0800 |
---|---|---|
committer | Sukanka | 2022-06-06 12:26:43 +0800 |
commit | 2e0b3db495c588021a8b888f16b50ba4a9244677 (patch) | |
tree | e4a99b94a53755b20a168fe42ba6f82f972d5b6b | |
download | aur-2e0b3db495c588021a8b888f16b50ba4a9244677.tar.gz |
add r-htmltable
-rw-r--r-- | .SRCINFO | 34 | ||||
-rw-r--r-- | PKGBUILD | 50 |
2 files changed, 84 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..66669d576858 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,34 @@ +pkgbase = r-htmltable + pkgdesc = Advanced Tables for Markdown/HTML + pkgver = 2.4.0 + pkgrel = 4 + url = https://cran.r-project.org/package=htmlTable + arch = any + license = GPL + depends = r + depends = r-checkmate + depends = r-htmltools + depends = r-htmlwidgets + depends = r-knitr + depends = r-magrittr + depends = r-rstudioapi + depends = r-stringr + optdepends = r-chron + optdepends = r-dplyr + optdepends = r-glue + optdepends = r-hmisc + optdepends = r-lubridate + optdepends = r-purrr + optdepends = r-reshape + optdepends = r-rlang + optdepends = r-rmarkdown + optdepends = r-testthat + optdepends = r-tibble + optdepends = r-tidyr + optdepends = r-tidyselect + optdepends = r-xml + optdepends = r-xml2 + source = https://cran.r-project.org/src/contrib/htmlTable_2.4.0.tar.gz + sha256sums = 4ca2b5616d77cfeee8ae5ca74307b86407d478b12d1ce17ba9c447e233b89a9d + +pkgname = r-htmltable diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..5b83253ce6a5 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,50 @@ +# Maintainer: Guoyi Zhang <guoyizhang at malacology dot net> + +_pkgname=htmlTable +_pkgver=2.4.0 +pkgname=r-${_pkgname,,} +pkgver=2.4.0 +pkgrel=4 +pkgdesc='Advanced Tables for Markdown/HTML' +arch=('any') +url="https://cran.r-project.org/package=${_pkgname}" +license=('GPL') +depends=( + r + r-checkmate + r-htmltools + r-htmlwidgets + r-knitr + r-magrittr + r-rstudioapi + r-stringr +) +optdepends=( + r-chron + r-dplyr + r-glue + r-hmisc + r-lubridate + r-purrr + r-reshape + r-rlang + r-rmarkdown + r-testthat + r-tibble + r-tidyr + r-tidyselect + r-xml + r-xml2 +) +source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz") +sha256sums=('4ca2b5616d77cfeee8ae5ca74307b86407d478b12d1ce17ba9c447e233b89a9d') + +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: |