From: Luke Shumaker
The error messages that makepkg prints when encountering a bad
epoch/pkgver/pkgrel are often somewhat misleading. These patchset
tries to improve that. The behavior is intended to be unchanged,
other than what the messages say.
Luke Shumaker (3):
makepkg: Better error messages for versions in
(check,make,opt)depends/provides/conflicts
makepkg: check_pkgrel: Don't say "decimal" in the error message
makepkg: check_pkgver: Report what the bad pkgver is
scripts/Makefile.am | 1 +
.../lint_pkgbuild/checkdepends.sh.in | 10 ++--
.../lint_pkgbuild/conflicts.sh.in | 10 ++--
.../lint_pkgbuild/depends.sh.in | 14 ++---
.../lint_pkgbuild/epoch.sh.in | 10 +++-
.../lint_pkgbuild/fullpkgver.sh.in | 54 +++++++++++++++++++
.../lint_pkgbuild/makedepends.sh.in | 10 ++--
.../lint_pkgbuild/optdepends.sh.in | 10 ++--
.../lint_pkgbuild/pkgrel.sh.in | 20 +++++--
.../lint_pkgbuild/pkgver.sh.in | 2 +-
.../lint_pkgbuild/provides.sh.in | 10 ++--
11 files changed, 107 insertions(+), 44 deletions(-)
create mode 100644 scripts/libmakepkg/lint_pkgbuild/fullpkgver.sh.in
--
Happy hacking,
~ Luke Shumaker
2.18.0