How to change clistview pagination style.

Clistview by default give First Previous 1 2 3 4... Next Last.

But i want only Previous and Last Button in Pagination style. 

What i should do for this change?