I would just make it a closet with shelves that go all the way across not in a walk in l shape if that makes sense.
Build l shaped pantry shelves.
Build another frame to create l shaped shelf.
In this article i have listed 24 diy pantry shelves that you can make for your home.
Next i built the framework for the other wall in the same way and attached it to the wall where i had marked for studs and just as i had added the end 1 x 2 pieces on the first shelf i added an end 1 x 2 piece for this shelf as well attaching it directly to the front of that side shelf framework.
With the right tutorial and tools you d be on your way to make your very own pantry shelf.
The best part is you do not need to be a pro to make most of the pantry shelves listed.
Easy diy pantry shelves.