So is leabhar pronounced lyaiwar or lyorr ?
Both are correct, depending on the speaker/dialect.
Writing Gaelic sounds out in English is only ever going to be an approximation at best, though your fist go looks a wee bit closer.
Here's another sound clip
I am sure that I create my personal dialect.