summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorShengyu Zhang2020-06-26 11:55:29 +0800
committerShengyu Zhang2020-06-26 11:55:29 +0800
commit1081e78979b8d5f2e02b4fdf46db85435031b674 (patch)
tree90adeec949e02c08363fe1cae543422c5b185e7b
parentd107706042fc3e2171583aae3c83216e660e510c (diff)
downloadaur-ccls-git.tar.gz
Don't use system RapidJSON
> CMake Error at CMakeLists.txt:155 (message): > RapidJSON version is likely too old. See > https://github.com/MaskRay/ccls/issues/455
-rw-r--r--.SRCINFO5
-rw-r--r--PKGBUILD8
2 files changed, 7 insertions, 6 deletions
diff --git a/.SRCINFO b/.SRCINFO
index e5d6e3af050..0ec3531c04b 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,8 +1,8 @@
# Generated by mksrcinfo v8
-# Tue Apr 21 16:31:05 UTC 2020
+# Fri Jun 26 03:55:22 UTC 2020
pkgbase = ccls-git
pkgdesc = C/C++ language server supporting cross references, hierarchies, completion and semantic highlighting
- pkgver = 20200419
+ pkgver = 20200615
pkgrel = 1
url = https://github.com/MaskRay/ccls
arch = x86_64
@@ -10,7 +10,6 @@ pkgbase = ccls-git
makedepends = cmake
makedepends = git
makedepends = llvm
- makedepends = rapidjson
depends = clang
depends = llvm-libs
source = git+https://github.com/MaskRay/ccls.git
diff --git a/PKGBUILD b/PKGBUILD
index 358e5e26d83..e63c3755d94 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,15 +1,16 @@
# Maintainer: Fangrui Song <i at maskray.me>
+# Co-Maintainer: Shengyu Zhang <la@archlinuxcn.org>
pkgname=ccls-git
_pkgname=ccls
-pkgver=20200419
+pkgver=20200615
pkgrel=1
pkgdesc='C/C++ language server supporting cross references, hierarchies, completion and semantic highlighting'
arch=('x86_64')
url='https://github.com/MaskRay/ccls'
license=('Apache')
depends=('clang' 'llvm-libs')
-makedepends=("cmake" "git" "llvm" "rapidjson")
+makedepends=("cmake" "git" "llvm")
source=('git+https://github.com/MaskRay/ccls.git')
md5sums=('SKIP')
@@ -20,11 +21,12 @@ pkgver() {
prepare() {
cd $_pkgname
+ git submodule update --init
}
build() {
cd $_pkgname
- cmake -H. -Bbuild -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_CXX_COMPILER=clang++ -DCLANG_LINK_CLANG_DYLIB=on
+ cmake -H. -Bbuild -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_CXX_COMPILER=clang++ -DCLANG_LINK_CLANG_DYLIB=on -DUSE_SYSTEM_RAPIDJSON=off
cmake --build build
}