The 38-year-old was walking along Dunbar Street on Sunday night when he noticed a car stop near him.
As he approached the car two men walked towards him, one armed with a sledgehammer.
He tried to run away but tripped and fell to the ground, with the men hitting him in the head and legs with the hammer before they fled.
The man was treated in hospital for a fractured skull, abrasions and bruising and is in a stable condition.
One of the offenders is Caucasian, about 20 to 30 years old with a thin build.
The other is also Caucasian, aged in his mid 40's with greying hair.