One way to do this would be:
pacman -Syw dnsmasq
tar tvzf /var/cache/pacman/pkg/dnsmasq-2.8-1.pkg.tar.gz
The files listed would be installed to your root '/' directory.
HTH,
farphel
For example, I planned to use dnsmasq to config my pc as a router and I would like to know which files will be changed....
]]>