Mayweather fought his fight. Smart with a lot of dodging clinching (most people will call it hugging) and counterpunching. He stayed away from Pacquiao most of the time unless he felt he was behind on points then he would make sure and score a lot.
Pacquiao never got his game plan going, which was to punch more than Mayweather and get inside to do damage. Pacquiao is a stronger fighter and just never got to use it. he had a few rounds where he had Mayweather backed up on the ropes and was throwing flurries of punches, but never did damage. He landed a few hard shots but not nearly enough.
They were even on punches thrown which always favors Mayweather. Mayweather actually got more punches landed. Most of this was because Mayweather is taller and had longer reach. He kept Pacquiao on the outside with jabs and when Pacquiao got inside Mayweather got out of the way then counter punched to score points and win rounds.
All in all it was a very technical yet boring fight since Pacquiao couldn't do what he wanted and Mayweather played it safe, only risking things when he had to win a round. If either was more aggressive it would have been better to watch, more damage done, and a good chance of a knockout on either side.