Place it in a tray and stew the finely chopped onion and garlic cloves. After stewing, add the beer and sugar. Boil the mixture, then pour it over the meat placed in the tray.
Roast the meat at 338°F (170 °C) for about 90 minutes. Cut the cooked pork into slices and serve warm, garnished with boiled or steamed vegetables.