summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Branham2018-08-19 17:43:25 -0500
committerAlex Branham2018-08-19 17:43:25 -0500
commit05f81f0037fc24e2a7f69ecce2d6b82e20ce3f86 (patch)
tree968bf2f8382cb23d636baacdd4fcf4842a033ce7
parent4c1adb51d25f9957e757cbcab092f4716c6e63f1 (diff)
downloadaur-05f81f0037fc24e2a7f69ecce2d6b82e20ce3f86.tar.gz
Upkg 0.2.2
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD20
2 files changed, 11 insertions, 15 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 60766cfe059..4342375f8f8 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = r-rlang
pkgdesc = Functions for Base Types and Core R and Tidyverse Features
- pkgver = 0.2.1
+ pkgver = 0.2.2
pkgrel = 1
url = https://cran.r-project.org/package=rlang
arch = x86_64
@@ -13,8 +13,8 @@ pkgbase = r-rlang
optdepends = r-testthat
optdepends = r-covr
replaces = r-cran-rlang
- source = https://cran.r-project.org/src/contrib/rlang_0.2.1.tar.gz
- md5sums = 71ba956eb1f40b39f16dd28888753524
+ source = https://cran.r-project.org/src/contrib/rlang_0.2.2.tar.gz
+ md5sums = df2abf3a1936c503ed1edd4350ffb5f0
pkgname = r-rlang
diff --git a/PKGBUILD b/PKGBUILD
index 559ab3dc451..00a5786c4a0 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,27 +1,23 @@
# Maintainer: Alex Branham <branham@utexas.edu>
-_cranname=rlang
-_cranver=0.2.1
-_pkgtar=${_cranname}_${_cranver}.tar.gz
+_cranver=0.2.2
pkgname=r-rlang
pkgver=${_cranver//[:-]/.}
pkgrel=1
-pkgdesc="Functions for Base Types and Core R and Tidyverse Features"
+pkgdesc='Functions for Base Types and Core R and Tidyverse Features'
arch=('x86_64')
-url="https://cran.r-project.org/package=${_cranname}"
+url='https://cran.r-project.org/package=rlang'
license=('GPL3')
depends=('r' )
-
optdepends=('r-crayon' 'r-knitr' 'r-pillar' 'r-rmarkdown' 'r-testthat' 'r-covr')
-
-source=("https://cran.r-project.org/src/contrib/${_pkgtar}")
-md5sums=('71ba956eb1f40b39f16dd28888753524')
replaces=('r-cran-rlang')
+source=("https://cran.r-project.org/src/contrib/rlang_"$_cranver".tar.gz")
+md5sums=('df2abf3a1936c503ed1edd4350ffb5f0')
build(){
- R CMD INSTALL ${_pkgtar} -l $srcdir
+ R CMD INSTALL rlang_"$_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 rlang "$pkgdir"/usr/lib/R/library
}