On 30 April 2015 at 07:55, Fabien Dubosson <fabien.dubos...@gmail.com> wrote: >> So, instead of dealing with a pair of `(pgkver, pkgrel)` we now have a >> triple of `(pkgver,xrev,pkgrel)`. The issue then becomes how to >> convert this triple into a pair. In particular, how to do it so the >> version ordering rules that `pacman` uses results in the wanted >> behaviour. > > 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)
The issue I'm worried about is that of trailing zeroes. Is 2.1_1 < 2.1.1_0? /M -- Magnus Therning OpenPGP: 0xAB4DFBA4 email: mag...@therning.org jabber: mag...@therning.org twitter: magthe http://therning.org/magnus _______________________________________________ arch-haskell mailing list arch-haskell@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/arch-haskell