You are not logged in.
Hi, the PKGBUILD I'm using downloads a git archive via:
source=("git+https:url)
Is there a way to download a specific tag e.g. "git clone --branch"?
Offline
https://man.archlinux.org/man/PKGBUILD. … CS_SOURCES
Specify tag=tagname as fragment part.
Last edited by dimich (2026-05-14 17:23:03)
Offline
So I need a query as part of the URL that selects the git branch? Let me look into what query goes on the end of the url for selecting branch across https.
Offline
So I need a query as part of the URL that selects the git branch?
It's a part of source file definition, not a part of URL. It is parsed by makepkg and passed to git checkout command.
Let me look into what query goes on the end of the url for selecting branch across https.
"git+https://" and "https://some-web-site/project.git" are different download protocols.
Offline
Moderator Note
Moving to Creating & Modifying Packages
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline