New post: XBPS API example: list pkgs in a repo (emulating pacman -Sl repo).