[pacman-dev] [PATCH] Add str_endswith() utility function