# Template file for 'ccls'
pkgname=ccls
version=0.20250815.1
revision=1
_llvmver=19
build_style=cmake
configure_args="-DUSE_SYSTEM_RAPIDJSON=ON
 -DLLVM_DIR=${XBPS_CROSS_BASE}/usr/lib/llvm/${_llvmver}/lib/cmake/llvm
 -DClang_DIR=${XBPS_CROSS_BASE}/usr/lib/llvm/${_llvmver}/lib/cmake/clang
 -DCLANG_RESOURCE_DIR=${XBPS_CROSS_BASE}/usr/lib/llvm/${_llvmver}/lib/clang/${_llvmver}"
hostmakedepends="clang-tools-extra${_llvmver}"
makedepends="clang-tools-extra${_llvmver} libxml2-devel llvm${_llvmver}-devel
 ncurses-devel rapidjson zlib-devel libzstd-devel libffi-devel libedit-devel"
short_desc="C/C++/ObjC language server"
maintainer="Orphaned <orphan@voidlinux.org>"
license="Apache-2.0"
homepage="https://github.com/MaskRay/ccls"
distfiles="https://github.com/MaskRay/ccls/archive/${version}.tar.gz"
checksum=b44d9f981e65dcf950525886f8211727da8a41d3070d323d558f950749bc493c
