Okay, so ya'll get the idea. Take one or two wooden ladders, level them on the wall and attach well with brackets. I got this idea from Pinterest.
Here's a few ideas for brackets you could use.
The possibilities are endless with the type bracket you can use to hang your "bookshelf" with.