summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorViktor Drobot2020-03-09 02:57:47 +0300
committerViktor Drobot2020-03-09 02:57:47 +0300
commitbfdc692ef2f861806bc2b50bc2d1fd1e5b14d4be (patch)
tree2c388b06177d0a1d1dbc717bc854cebee3d5de9a
downloadaur-bfdc692ef2f861806bc2b50bc2d1fd1e5b14d4be.tar.gz
Initial release
-rw-r--r--.SRCINFO38
-rw-r--r--PKGBUILD28
2 files changed, 66 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..aa097074309
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,38 @@
+pkgbase = r-usethis
+ pkgdesc = Automate Package and Project Setup
+ pkgver = 1.5.1
+ pkgrel = 1
+ url = https://cran.r-project.org/package=usethis
+ arch = any
+ license = GPL3
+ depends = r>=3.2
+ depends = r-clipr>=0.3.0
+ depends = r-clisymbols
+ depends = r-crayon
+ depends = r-curl>=2.7
+ depends = r-desc
+ depends = r-fs>=1.3.0
+ depends = r-gh
+ depends = r-git2r>=0.23
+ depends = r-glue>=1.3.0
+ depends = r-purrr
+ depends = r-rlang
+ depends = r-rprojroot>=1.2
+ depends = r-rstudioapi
+ depends = r-whisker
+ depends = r-withr
+ depends = r-yaml
+ optdepends = r-covr
+ optdepends = r-knitr
+ optdepends = r-magick
+ optdepends = r-pkgdown
+ optdepends = r-rmarkdown
+ optdepends = r-roxygen2
+ optdepends = r-spelling
+ optdepends = r-styler
+ optdepends = r-testthat
+ source = https://cran.r-project.org/src/contrib/usethis_1.5.1.tar.gz
+ md5sums = 105ca47d3738ffa63f676ce97593a356
+
+pkgname = r-usethis
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..d2182f3621f
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,28 @@
+# Maintainer: Viktor Drobot (aka dviktor) linux776 [at] gmail [dot] com
+
+_cranname=usethis
+_cranver=1.5.1
+pkgname=r-${_cranname,,}
+pkgver=${_cranver//[:-]/.}
+pkgrel=1
+pkgdesc="Automate Package and Project Setup"
+arch=(any)
+url="https://cran.r-project.org/package=${_cranname}"
+license=(GPL3)
+depends=('r>=3.2' 'r-clipr>=0.3.0' r-clisymbols r-crayon 'r-curl>=2.7' r-desc 'r-fs>=1.3.0' r-gh 'r-git2r>=0.23' 'r-glue>=1.3.0' r-purrr r-rlang 'r-rprojroot>=1.2' r-rstudioapi r-whisker r-withr r-yaml)
+optdepends=(r-covr r-knitr r-magick r-pkgdown r-rmarkdown r-roxygen2 r-spelling r-styler r-testthat)
+source=("https://cran.r-project.org/src/contrib/${_cranname}_${_cranver}.tar.gz")
+md5sums=('105ca47d3738ffa63f676ce97593a356')
+
+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"
+}