You are not logged in.
Hi, I built an AUR package and noticed that the version contains "alpha" in the string and the version string also has a git commit ID that matches the most recent commit of the repository. I checked the version using the --version flag of the built program itself. The same commit ID is also in the pgkver of the PKGBUILD. The repository also has "released " versions.
Main Question: Is it customary for an AUR package to use the very latest available code, even if not the latest official release?
The package in this case is ksh, and --version shows "version sh (AT&T Research) 93u+m/1.1.0-alpha+0f6866b6/MOD 2025-06-22"
Note that the commit ID, 0f6866b, is the very latest (as of this posting): https://github.com/ksh93/ksh/commits/dev/
SOLUTION: https://bbs.archlinux.org/viewtopic.php … 5#p2271315
Last edited by Gregory_M (2025-11-06 06:24:08)
Offline
There is no 'ksh' package in the AUR, but I suspect you meant 'ksh93-git'. That being the case, see the following: https://wiki.archlinux.org/title/VCS_package_guidelines
In short, yes, -git packages are expected to build the latest commit on the branch that they track (usually master/main/trunk/etc.).
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
OK. Thank you.
Offline