0
0
mirror of https://github.com/termux/termux-packages.git synced 2025-09-28 21:52:39 +00:00
Files
termux-packages/packages/sbcl/build.sh
Robert Kirkman e9d6c0a4aa fix(main/sbcl): add correct TERMUX_PKG_UPDATE_VERSION_REGEXP
Unfortunately, I didn't understand how to make the auto update work correctly for this type of `TERMUX_PKG_SRCURL`,
I need to find a package that has an exactly matching `TERMUX_PKG_SRCURL` format that has already been auto updated successfully,
and copy the logic that it uses.

`sbcl` has this `TERMUX_PKG_SRCURL` format:

https://github.com/(account name)/(package name)/archive/refs/tags/(package name)-${TERMUX_PKG_VERSION}.tar.gz

I noticed that `jql` has exactly that format, and that it also has `TERMUX_PKG_AUTO_UPDATE=true`, and that the only addtional difference it has from `sbcl` is that it has `TERMUX_PKG_UPDATE_VERSION_REGEXP="\d+.\d+.\d+"`, so this change makes the auto updater run correctly on `sbcl`.

- Fixes termux#24494

[no ci]
2025-04-26 12:35:00 +03:00

4.3 KiB