[arch-dev-public] Porting tools to new API (was: [signoff] pacman 4.0.0-2)