void-packages/srcpkgs/ccls/template

19 lines
762 B
Bash

# Template file for 'ccls'
pkgname=ccls
version=0.20241108
revision=1
_llvmver=19
build_style=cmake
configure_args="-DUSE_SYSTEM_RAPIDJSON=ON
-DCMAKE_PREFIX_PATH=${XBPS_CROSS_BASE}/usr/lib/llvm/${_llvmver}
-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"
short_desc="C/C++/ObjC language server"
maintainer="André Cerqueira <acerqueira021@gmail.com>"
license="Apache-2.0"
homepage="https://github.com/MaskRay/ccls"
distfiles="https://github.com/MaskRay/ccls/archive/${version}.tar.gz"
checksum=76224663c3554eef9102dca66d804874d0252312d7c7d02941c615c87dcb68af