A generic nickname used when reffering either to a friend or a jerk, depending on the context and the tone of voice. Often times is also used when acting like a pirate in a clever or mocking manner.
You better watch it bucko!
Hey bucko, where you been?
Arr me bucko i've got meself some fine booty.