[pacman-dev] [PATCH 1/3] Collect all triggered hooks before running them