summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristoph Fink2022-07-13 11:49:12 +0300
committerChristoph Fink2022-07-13 11:49:12 +0300
commitf08a7c6ed3c015422df9e085abc668b8b3fa1cd7 (patch)
treeb3254bc549821cf12de031dbc19ae9ac817e202a
parent8a8b8a1a7fc507c596f810b0cad834f091d1603c (diff)
downloadaur-f08a7c6ed3c015422df9e085abc668b8b3fa1cd7.tar.gz
upgpkg: r-rlang 1.0.4-1
upstream release upstream release
-rw-r--r--.SRCINFO12
-rw-r--r--PKGBUILD31
2 files changed, 30 insertions, 13 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 976d734f654..c6b3e9c184a 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,13 +1,13 @@
pkgbase = r-rlang
pkgdesc = Functions for Base Types and Core R and 'Tidyverse' Features
- pkgver = 1.0.3
+ pkgver = 1.0.4
pkgrel = 1
url = https://cran.r-project.org/package=rlang
arch = i686
arch = x86_64
license = MIT
depends = r>=3.4.0
- optdepends = r-cli
+ optdepends = r-cli>=3.1.0
optdepends = r-covr
optdepends = r-crayon
optdepends = r-fs
@@ -16,12 +16,12 @@ pkgbase = r-rlang
optdepends = r-magrittr
optdepends = r-pillar
optdepends = r-rmarkdown
- optdepends = r-testthat
+ optdepends = r-testthat>=3.0.0
optdepends = r-tibble
optdepends = r-usethis
- optdepends = r-vctrs
+ optdepends = r-vctrs>=0.2.3
optdepends = r-withr
- source = https://cran.r-project.org/src/contrib/rlang_1.0.3.tar.gz
- sha256sums = 04cc48b1a92dcd531c8e54288119f6dbecc7698928f7aaca840214ae815e0e3e
+ source = https://cran.r-project.org/src/contrib/rlang_1.0.4.tar.gz
+ sha256sums = 1fb789d46c6a855ce37eba63c353b85aa600c4a2a7ca6075f2632540b42a8696
pkgname = r-rlang
diff --git a/PKGBUILD b/PKGBUILD
index 0e48374e43a..0da7d33ac13 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
# Contributor: Grey Christoforo <first name at last name dot net>
_cranname=rlang
-_cranver=1.0.3
+_cranver=1.0.4
pkgname=r-${_cranname,,}
pkgver=${_cranver//[:-]/.}
pkgrel=1
@@ -12,17 +12,34 @@ arch=(i686 x86_64)
url="https://cran.r-project.org/package=${_cranname}"
license=(MIT)
depends=("r>=3.4.0")
-optdepends=(r-cli r-covr r-crayon r-fs r-glue r-knitr r-magrittr r-pillar r-rmarkdown r-testthat r-tibble r-usethis r-vctrs r-withr)
+optdepends=(
+ "r-cli>=3.1.0"
+ r-covr
+ r-crayon
+ r-fs
+ r-glue
+ r-knitr
+ r-magrittr
+ r-pillar
+ r-rmarkdown
+ "r-testthat>=3.0.0"
+ r-tibble
+ r-usethis
+ "r-vctrs>=0.2.3"
+ r-withr
+)
source=("https://cran.r-project.org/src/contrib/${_cranname}_${_cranver}.tar.gz")
-sha256sums=("04cc48b1a92dcd531c8e54288119f6dbecc7698928f7aaca840214ae815e0e3e")
+sha256sums=("1fb789d46c6a855ce37eba63c353b85aa600c4a2a7ca6075f2632540b42a8696")
build() {
- R CMD INSTALL ${_cranname}_${_cranver}.tar.gz -l "${srcdir}"
+ R CMD INSTALL ${_cranname}_${_cranver}.tar.gz -l "${srcdir}"
}
package() {
- install -dm0755 "${pkgdir}/usr/lib/R/library"
+ install -dm0755 "${pkgdir}/usr/lib/R/library"
+ cp -a --no-preserve=ownership "${_cranname}" "${pkgdir}/usr/lib/R/library"
- cp -a --no-preserve=ownership "${_cranname}" "${pkgdir}/usr/lib/R/library"
+ if [[ -f "${_cranname}/LICENSE" ]]; then
+ install -Dm0644 "${_cranname}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+ fi
}
-