Skip to content

sha256 of a git repository #20908

Closed Answered by TomJo2000
alexbodn asked this question in Q&A
Discussion options

You must be logged in to vote

If the TERMUX_PKG_SRCURL is a git URL TERMUX_PKG_SHA256 is not used.

if [ "${TERMUX_PKG_SRCURL:0:4}" == "git+" ]; then
termux_git_clone_src

Git source URLs should have a git+ prefix to be identified as such.
See LuaJIT as an example.
TERMUX_PKG_SRCURL=git+https://github.com/LuaJIT/LuaJIT.git


termux_git_clone_src is implemented here.

termux_git_clone_src() {
local TMP_CHECKOUT=$TERMUX_PKG_CACH…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by TomJo2000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants