1
0
mirror of https://github.com/termux/termux-packages synced 2024-06-19 02:27:07 +00:00
termux-packages/packages/ccls/build.sh

17 lines
580 B
Bash
Raw Normal View History

2021-10-08 14:51:10 +00:00
TERMUX_PKG_HOMEPAGE=https://github.com/MaskRay/ccls
TERMUX_PKG_DESCRIPTION="C/C++/ObjC language server"
TERMUX_PKG_LICENSE="Apache-2.0"
2021-10-08 14:56:39 +00:00
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION=0.20220729
TERMUX_PKG_SRCURL=https://github.com/MaskRay/ccls/archive/refs/tags/${TERMUX_PKG_VERSION}.tar.gz
2021-10-08 14:51:10 +00:00
TERMUX_PKG_DEPENDS="libllvm"
TERMUX_PKG_BUILD_DEPENDS="rapidjson, libllvm-static"
termux_step_pre_configure() {
touch $TERMUX_PREFIX/bin/{clang-import-test,clang-offload-wrapper}
}
termux_step_post_make_install() {
rm $TERMUX_PREFIX/bin/{clang-import-test,clang-offload-wrapper}
}