void-packages/srcpkgs/ccls/template
Đoàn Trần Công Danh 12694050dd ccls: fix cross build
2020-12-28 07:03:19 +07:00

18 lines
629 B
Bash

# Template file for 'ccls'
pkgname=ccls
version=0.20201219
revision=1
build_style=cmake
hostmakedepends="clang-tools-extra"
makedepends="llvm ncurses-devel rapidjson zlib-devel clang-tools-extra"
short_desc="C/C++/ObjC language server"
maintainer="Nathan Owens <ndowens@artixlinux.org>"
license="Apache-2.0"
homepage="https://github.com/MaskRay/ccls"
distfiles="https://github.com/MaskRay/ccls/archive/${version}.tar.gz"
checksum=edd3435bc7e55d9e5dc931932f9c98275a6a28d1ab1f66416110e029f3f2882a
if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
makedepends+=" libatomic-devel"
configure_args="-DCMAKE_CXX_STANDARD_LIBRARIES=-latomic"
fi