In a small bowl, dissolve the sugar in the warm water and sprinkle the yeast over it. Let it sit for about 5-10 minutes until frothy.
In a large bowl, combine the flour and salt. Make a well in the center and pour in the yeast mixture and olive oil.
Mix the ingredients until a dough forms. Knead the dough on a floured surface for about 5-7 minutes until smooth and elastic.
Place the dough in a lightly oiled bowl, cover it with a damp cloth, and let it rise in a warm place for about 1 hour or until doubled in size.
While the dough is rising, heat 1 tablespoon of olive oil in a pan over medium heat. Add the chopped onion and cook until translucent.
Add the pastrma to the pan and cook for a few minutes until slightly crispy. Remove from heat and set aside.
Preheat the oven to 400°F (200°C).
Punch down the risen dough and divide it into two equal portions. Roll each portion into an oval shape about ½ inch thick and place on baking sheets lined with parchment paper.
Spread the cooked onion and pastrma mixture evenly over the dough. Sprinkle the grated cheese on top and season with paprika and black pepper.
Bake in the preheated oven for about 20-25 minutes or until the crust is golden and the cheese is melted and bubbly.
Remove from the oven and let cool slightly. Garnish with chopped fresh parsley if desired.
Slice and serve warm.
Enjoy your meal!