diff options
author | Björn Bidar | 2022-09-17 05:24:41 +0300 |
---|---|---|
committer | Björn Bidar | 2022-09-17 05:28:22 +0300 |
commit | 1954d0a14fe1d1b4a9f4034936b48b8519c05d07 (patch) | |
tree | 696cc614bb03ef72b03a49127652371c2b934c58 | |
parent | 1081e78979b8d5f2e02b4fdf46db85435031b674 (diff) | |
download | aur-ccls-clang-git.tar.gz |
Copy over ccls-git as ccls-clang-git and build against clang-git
-rw-r--r-- | .SRCINFO | 19 | ||||
-rw-r--r-- | PKGBUILD | 18 |
2 files changed, 24 insertions, 13 deletions
@@ -1,19 +1,24 @@ # Generated by mksrcinfo v8 -# 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 = 20200615 +# Sat Sep 17 02:28:18 UTC 2022 +pkgbase = ccls-clang-git + pkgdesc = C/C++ language server supporting cross references, hierarchies, completion and semantic highlighting, build against llvm-git and clang-git + pkgver = 20220417 pkgrel = 1 url = https://github.com/MaskRay/ccls arch = x86_64 license = Apache makedepends = cmake makedepends = git - makedepends = llvm - depends = clang + makedepends = llvm-git + makedepends = polly-git + depends = clang-git depends = llvm-libs + provides = ccls + provides = ccls-clang-git-git + conflicts = ccls + conflicts = ccls-clang-git-git source = git+https://github.com/MaskRay/ccls.git md5sums = SKIP -pkgname = ccls-git +pkgname = ccls-clang-git @@ -1,16 +1,18 @@ # Maintainer: Fangrui Song <i at maskray.me> # Co-Maintainer: Shengyu Zhang <la@archlinuxcn.org> -pkgname=ccls-git _pkgname=ccls -pkgver=20200615 +pkgname=${_pkgname}-clang-git +pkgver=20220417 pkgrel=1 -pkgdesc='C/C++ language server supporting cross references, hierarchies, completion and semantic highlighting' +pkgdesc='C/C++ language server supporting cross references, hierarchies, completion and semantic highlighting, build against llvm-git and clang-git' arch=('x86_64') url='https://github.com/MaskRay/ccls' license=('Apache') -depends=('clang' 'llvm-libs') -makedepends=("cmake" "git" "llvm") +depends=('clang-git' 'llvm-libs') +provides=("$_pkgname" "${pkgname}-git") +conflicts=("$_pkgname" "${pkgname}-git") +makedepends=("cmake" "git" "llvm-git" "polly-git") source=('git+https://github.com/MaskRay/ccls.git') md5sums=('SKIP') @@ -26,7 +28,11 @@ prepare() { build() { cd $_pkgname - cmake -H. -Bbuild -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_CXX_COMPILER=clang++ -DCLANG_LINK_CLANG_DYLIB=on -DUSE_SYSTEM_RAPIDJSON=off + cmake -H. -Bbuild -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_CXX_COMPILER=c++ \ + -DCLANG_LINK_CLANG_DYLIB=on \ + -DCMAKE_BUILD_TYPE='None' \ + -DUSE_SYSTEM_RAPIDJSON=on cmake --build build } |