summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorSukanka2022-06-06 22:55:33 +0800
committerSukanka2022-06-06 22:55:33 +0800
commit11943a8b829f977e242c1cf96c034cfbb3ca2bdc (patch)
treeff31644f8c0d64d625fb4a50ba2a965baed1dc54 /PKGBUILD
downloadaur-11943a8b829f977e242c1cf96c034cfbb3ca2bdc.tar.gz
add r-shinydashboard
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD29
1 files changed, 29 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 000000000000..bb73635e4630
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,29 @@
+# Maintainer: Guoyi Zhang <guoyizhang at malacology dot net>
+
+_pkgname=shinydashboard
+_pkgver=0.7.2
+pkgname=r-${_pkgname,,}
+pkgver=0.7.2
+pkgrel=4
+pkgdesc="Create Dashboards with 'Shiny'"
+arch=('any')
+url="https://cran.r-project.org/package=${_pkgname}"
+license=('GPL')
+depends=(
+ r
+ r-htmltools
+ r-promises
+ r-shiny
+)
+source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
+sha256sums=('a56ee48572649830cd8d82f1caa2099411461e19e19223cbad36a375299f3843')
+
+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: