mirror of
https://github.com/termux-pacman/termux-packages.git
synced 2026-02-18 15:35:26 +00:00
bump(main/ccls): 0.20250815.1
- Change `TERMUX_PKG_GIT_BRANCH` to be equal to `TERMUX_PKG_VERSION` because it works
This commit is contained in:
@@ -2,10 +2,9 @@ TERMUX_PKG_HOMEPAGE=https://github.com/MaskRay/ccls
|
||||
TERMUX_PKG_DESCRIPTION="C/C++/ObjC language server"
|
||||
TERMUX_PKG_LICENSE="Apache-2.0"
|
||||
TERMUX_PKG_MAINTAINER="@termux"
|
||||
_COMMIT=5660367c771345b68c4ead4a4db2d4786985bf78
|
||||
TERMUX_PKG_VERSION=0.20250815
|
||||
TERMUX_PKG_VERSION=0.20250815.1
|
||||
TERMUX_PKG_SRCURL=git+https://github.com/MaskRay/ccls.git
|
||||
TERMUX_PKG_GIT_BRANCH=master
|
||||
TERMUX_PKG_GIT_BRANCH="$TERMUX_PKG_VERSION"
|
||||
TERMUX_PKG_AUTO_UPDATE=false
|
||||
# clang is for libclang-cpp.so
|
||||
TERMUX_PKG_DEPENDS="clang, libc++, libllvm"
|
||||
@@ -15,17 +14,6 @@ TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
|
||||
"
|
||||
|
||||
termux_step_pre_configure() {
|
||||
git fetch --unshallow
|
||||
git checkout $_COMMIT
|
||||
|
||||
local version="$(git log -1 --format=%cs | sed 's/-//g')"
|
||||
local _COMMIT_DATE="${TERMUX_PKG_VERSION:2:9}"
|
||||
if [ "$version" != "$_COMMIT_DATE" ]; then
|
||||
echo -n "ERROR: The specified commit date \"$_COMMIT_DATE\""
|
||||
echo " is different from what is expected to be: \"$version\""
|
||||
return 1
|
||||
fi
|
||||
|
||||
touch $TERMUX_PREFIX/bin/{clang-import-test,clang-offload-wrapper}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user