summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDrobot Viktor2019-05-14 19:22:18 +0300
committerDrobot Viktor2019-05-14 19:22:18 +0300
commit2a30f7c2bfa1273de4fe64cb9e3375d4be9c7af2 (patch)
tree62f1871f65e1d1c510513908223e6069627d7e91
downloadaur-2a30f7c2bfa1273de4fe64cb9e3375d4be9c7af2.tar.gz
Initial release
-rw-r--r--.SRCINFO20
-rw-r--r--PKGBUILD28
2 files changed, 48 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..32d4370a5cb
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,20 @@
+pkgbase = r-editdata
+ pkgdesc = 'RStudio' Addin for Editing a 'data.frame'
+ pkgver = 0.1.2
+ pkgrel = 1
+ url = https://cran.r-project.org/package=editData
+ arch = any
+ license = GPL3
+ depends = r
+ depends = r-shiny
+ depends = r-miniui
+ depends = r-rstudioapi
+ depends = r-dt
+ depends = r-tibble
+ optdepends = r-knitr
+ optdepends = r-rmarkdown
+ source = http://cran.r-project.org/src/contrib/editData_0.1.2.tar.gz
+ md5sums = fa8c7fb3fea5a55ac89cd3ad73237740
+
+pkgname = r-editdata
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..95e3310d7e5
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,28 @@
+# Maintainer: Viktor Drobot (aka dviktor) linux776 [at] gmail [dot] com
+
+_cranname=editData
+_cranver=0.1.2
+pkgname=r-editdata
+pkgver=${_cranver//[:-]/.}
+pkgrel=1
+pkgdesc="'RStudio' Addin for Editing a 'data.frame'"
+arch=('any')
+url="https://cran.r-project.org/package=${_cranname}"
+license=('GPL3')
+depends=('r' 'r-shiny' 'r-miniui' 'r-rstudioapi' 'r-dt' 'r-tibble')
+optdepends=('r-knitr' 'r-rmarkdown')
+source=("http://cran.r-project.org/src/contrib/${_cranname}_${_cranver}.tar.gz")
+md5sums=('fa8c7fb3fea5a55ac89cd3ad73237740')
+
+build(){
+ cd "${srcdir}"
+
+ R CMD INSTALL ${_cranname}_${_cranver}.tar.gz -l $srcdir
+}
+
+package() {
+ cd "${srcdir}"
+
+ install -dm0755 "$pkgdir/usr/lib/R/library"
+ cp -a --no-preserve=ownership "$_cranname" "$pkgdir/usr/lib/R/library"
+}