
30 Apr
2015
30 Apr
'15
4:54 a.m.
On 30/04/15 06:55, Fabien Dubosson wrote:
The `pkgrel' must be an integer incremented by 1, but there are no defined format for `pkgver'. So why not using `pkgver_xrev-pkgrel' in which `pkgver_xrev' is the `pkgver' defined in the PKGBUILD? It is allowed to do so, will be strictly incrementing and respecting PKGBUILD rules.
PS: underscores are allowed (https://wiki.archlinux.org/index.php/PKGBUILD#pkgver)
I agree with Fabien's proposal, so long it won't cause issues with Pacman. Logically makes the most sense. The more to the left the closer to the upstream and feature-set. Combining xrev and pkgrel in a singe integer somehow is feasible but seems hack-ish and probably will need to get changed again in the future. -- SP