summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorViktor Drobot2020-11-01 13:27:50 +0300
committerViktor Drobot2020-11-01 13:27:50 +0300
commit50503409f28cc7a81b89d478f1e67e526387a524 (patch)
tree98a7102c2aaee619392d043062dea236a8dc735b
downloadaur-50503409f28cc7a81b89d478f1e67e526387a524.tar.gz
First release
-rw-r--r--.SRCINFO23
-rw-r--r--PKGBUILD25
2 files changed, 48 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..5fa588408de
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,23 @@
+pkgbase = r-waldo
+ pkgdesc = Find Differences Between R Objects
+ pkgver = 0.2.2
+ pkgrel = 1
+ url = https://cran.r-project.org/package=waldo
+ arch = any
+ license = MIT
+ depends = r
+ depends = r-cli
+ depends = r-diffobj
+ depends = r-fansi
+ depends = r-glue
+ depends = r-rematch2
+ depends = r-rlang
+ depends = r-tibble
+ optdepends = r-testthat
+ optdepends = r-covr
+ optdepends = r-r6
+ source = https://cran.r-project.org/src/contrib/waldo_0.2.2.tar.gz
+ sha256sums = 2aef47fc5eb5a175963f107b474c2a8ba9bbffa5dabae4724efafd59813c9760
+
+pkgname = r-waldo
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..b611ca4b874
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,25 @@
+# Maintainer: Viktor Drobot (aka dviktor) linux776 [at] gmail [dot] com
+
+_cranname=waldo
+_cranver=0.2.2
+pkgname=r-${_cranname,,}
+pkgver=${_cranver//[:-]/.}
+pkgrel=1
+pkgdesc="Find Differences Between R Objects"
+arch=(any)
+url="https://cran.r-project.org/package=${_cranname}"
+license=(MIT)
+depends=(r r-cli r-diffobj r-fansi r-glue r-rematch2 r-rlang r-tibble)
+optdepends=(r-testthat r-covr r-r6)
+source=("https://cran.r-project.org/src/contrib/${_cranname}_${_cranver}.tar.gz")
+sha256sums=('2aef47fc5eb5a175963f107b474c2a8ba9bbffa5dabae4724efafd59813c9760')
+
+build() {
+ R CMD INSTALL ${_cranname}_${_cranver}.tar.gz -l "${srcdir}"
+}
+
+package() {
+ install -dm0755 "${pkgdir}/usr/lib/R/library"
+
+ cp -a --no-preserve=ownership "${_cranname}" "${pkgdir}/usr/lib/R/library"
+}