pacman - list installed packages from given repo
Try with paclist
:
paclist - List all packages installed from a given repo
e.g. to list all packages installed from community
:
paclist community
If you want only the names (w/o version number) you could use something like:
awk '{print $1}' <(paclist community)
or
cut -d' ' -f1 <(paclist community)