summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorPekka Ristola2022-07-02 14:18:14 +0300
committerPekka Ristola2022-07-02 14:18:14 +0300
commita93a338cbcb517fd480180bc10cd1f2c2b9ea90d (patch)
treebacb81483f1629363f314a8943921a9d14d160fc /PKGBUILD
parent15f74c01a749f16fbfe4869f0b861e012c0fba97 (diff)
downloadaur-a93a338cbcb517fd480180bc10cd1f2c2b9ea90d.tar.gz
Make tests work even when LC_ALL is set
The previous fix didn't work when user has set their locale using the LC_ALL variable.
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD4
1 files changed, 2 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 29fa13a3660..a896a9fd759 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -6,7 +6,7 @@ _cranname=Rcpp
_cranver=1.0.8.3
pkgname=r-${_cranname,,}
pkgver=${_cranver//[:-]/.}
-pkgrel=2
+pkgrel=3
pkgdesc="Seamless R and C++ Integration"
arch=(i686 x86_64)
url="https://cran.r-project.org/package=${_cranname}"
@@ -29,7 +29,7 @@ build() {
check() {
cd "${_cranname}/tests"
- R_LIBS="${srcdir}/build" LC_MESSAGES=C RunAllRcppTests=yes Rscript --vanilla tinytest.R
+ R_LIBS="${srcdir}/build" LC_ALL=C.UTF-8 RunAllRcppTests=yes Rscript --vanilla tinytest.R
}
package() {