[pacman-dev] [PATCH 2/2][WIP][RFC] add basic hook support