Skip to content
  • Slavi Pantaleev's avatar
    Honor epoch field in PKGBUILD files. · 2131d3cb
    Slavi Pantaleev authored
    
    
    The epoch field in PKGBUILD files was completely ignored until now,
    and the final Version field for a package consisted only of
    pkgver and pkgrel (example: 5.0-1)
    
    This means that rpc.php reported the version incorrectly for packages
    having epoch > 0.
    One case where this was a problem is that it confused AUR helpers
    wanting to examine all locally installed packages (with epoch > 0)
    and search the AUR for an updated version.
    
    The epoch field is taken into consideration now, and if not 0,
    will be prepended to the final Version field (example: 1:5.0-1)
    
    Signed-off-by: default avatarLukas Fleischer <archlinux@cryptocrack.de>
    2131d3cb