Howto install Last.FM / Scrobbler plugin in Audacious2 on Lucid Lynx

The Audacious developers have removed support for Last.FM / Scrobbler in the most recent version.If you want to install Last.FM / Scrobbler plugin in Audacious2 on ubuntu Lucid Lynx follow this procedure