makepkg: get package version with overrides
commitccdb2fa800f3e89641d371056961fa1d654f363d
authorAllan McRae <allan@archlinux.org>
Fri, 22 Jul 2011 11:42:53 +0000 (22 21:42 +1000)
committerDan McGee <dan@archlinux.org>
Wed, 27 Jul 2011 17:45:25 +0000 (27 12:45 -0500)
treeb4dab7817006de89e022da63fcccd194a1e0bd1d
parent03447ce39cd6a3adb7a56bb978368a5f11659374
makepkg: get package version with overrides

When epoch, pkgver and/or pkgrel were overridden in a split package
function, makepkg failed hard finding the real version for checking
if packages were already built or trying to install packages. Fix
the get_full_version function to deal with overrides and return the
actual package version.

Signed-off-by: Allan McRae <allan@archlinux.org>
Signed-off-by: Dan McGee <dan@archlinux.org>
scripts/makepkg.sh.in