To see which package owns a certain file on your system, use the command pamac search -f. For example:
pamac search -f
pamac search -f /usr/bin/smplayer