Pacman-contrib
From wikinotes
A collection of helper scripts for working with pacman.
Install
pacman -S pacman-contrib
Usage
paccache
paccache -r # delete all but 3x most recent versions of package paccache -d # dry-run delete all but 3x most recent versions of package paccache -duv # print filespaccache
checkupdates
paclog-pkglist
pacscripts
pacsearch
pacsort
pactree
rankmirrors
updpkgsums