summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Branham2018-08-24 08:33:10 -0500
committerAlex Branham2018-08-24 08:33:10 -0500
commit97e86a5c8b980301e0b5eae6ce1027d1ee6ded00 (patch)
tree8293b18e0e95ee3c917fda7ca381fe5d2b10cc9d
parent19e3c790fb7bbeb2ce2c0d833a83beb08e813a1a (diff)
downloadaur-97e86a5c8b980301e0b5eae6ce1027d1ee6ded00.tar.gz
Upkg 3.0.0
-rw-r--r--.SRCINFO11
-rw-r--r--PKGBUILD24
2 files changed, 17 insertions, 18 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 13df6422975..5530046bd00 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,18 +1,21 @@
pkgbase = r-callr
pkgdesc = Call R from R
- pkgver = 2.0.4
+ pkgver = 3.0.0
pkgrel = 1
url = https://cran.r-project.org/package=callr
arch = any
license = MIT
depends = r
- depends = r-processx>=3.1.0
+ depends = r-base64enc
+ depends = r-processx>=3.2.0
depends = r-r6
optdepends = r-covr
+ optdepends = r-crayon
+ optdepends = r-ps
optdepends = r-testthat
optdepends = r-withr
- source = https://cran.r-project.org/src/contrib/callr_2.0.4.tar.gz
- md5sums = 14d542a7a422c9449beece9c82db3ade
+ source = https://cran.r-project.org/src/contrib/callr_3.0.0.tar.gz
+ md5sums = ed29786f0760021d76fff26b205be2fd
pkgname = r-callr
diff --git a/PKGBUILD b/PKGBUILD
index 90fd6dfb2c6..d4bb5b2fdd8 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,26 +1,22 @@
# Maintainer: Alex Branham <branham@utexas.edu>
-_cranname=callr
-_cranver=2.0.4
-_pkgtar=${_cranname}_${_cranver}.tar.gz
+_cranver=3.0.0
pkgname=r-callr
pkgver=${_cranver//[:-]/.}
pkgrel=1
-pkgdesc="Call R from R"
+pkgdesc='Call R from R'
arch=('any')
-url="https://cran.r-project.org/package=${_cranname}"
+url='https://cran.r-project.org/package=callr'
license=('MIT')
-depends=('r' 'r-processx>=3.1.0' 'r-r6')
-
-optdepends=('r-covr' 'r-testthat' 'r-withr')
-
-source=("https://cran.r-project.org/src/contrib/${_pkgtar}")
-md5sums=('14d542a7a422c9449beece9c82db3ade')
+depends=('r' 'r-base64enc' 'r-processx>=3.2.0' 'r-r6')
+optdepends=('r-covr' 'r-crayon' 'r-ps' 'r-testthat' 'r-withr')
+source=("https://cran.r-project.org/src/contrib/callr_"$_cranver".tar.gz")
+md5sums=('ed29786f0760021d76fff26b205be2fd')
build(){
- R CMD INSTALL ${_pkgtar} -l $srcdir
+ R CMD INSTALL callr_"$_cranver".tar.gz -l "$srcdir"
}
package() {
- install -d "$pkgdir/usr/lib/R/library"
- cp -r "$srcdir/$_cranname" "$pkgdir/usr/lib/R/library"
+ install -dm0755 "$pkgdir"/usr/lib/R/library
+ cp -a --no-preserve=ownership callr "$pkgdir"/usr/lib/R/library
}