[makepkg] Version restrictions in PKGBUILD don't work with `*-git` packages
I'm trying to run makepkg on [shadps4-git](https://aur.archlinux.org/packages/shadps4-git) from the AUR. It depends on sdl3>=3.1.8, while I've already installed [sdl3-git](https://aur.archlinux.org/packages/sdl3-git) 3.2.6.r925.g7017fbaa8e-1. However, `makepkg -s` still wants to force install the latest sdl3, which is 3.2.20, and doesn't let me proceed with the existing sdl3-git. sdl3-git already states in its PKGBUILD that it provides sdl3, so I'm not sure why makepkg doesn't like it.
After removing the version requirement, I can proceed, but I don't understand why the version parser thinks that 3.2.6.r925.g7017fbaa8e-1 < 3.1.8.
issue