[pacman-dev] [PATCH 3/6] makepkg: refactor check_sanity, give it some sanity of its own