diff options
author | Shengyu Zhang | 2020-06-26 11:55:29 +0800 |
---|---|---|
committer | Shengyu Zhang | 2020-06-26 11:55:29 +0800 |
commit | 1081e78979b8d5f2e02b4fdf46db85435031b674 (patch) | |
tree | 90adeec949e02c08363fe1cae543422c5b185e7b | |
parent | d107706042fc3e2171583aae3c83216e660e510c (diff) | |
download | aur-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-- | .SRCINFO | 5 | ||||
-rw-r--r-- | PKGBUILD | 8 |
2 files changed, 7 insertions, 6 deletions
@@ -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 @@ -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 } |