Put them in the bowl of your food processor and pulse for a few seconds. Do not puree them.
Pour all ingredients into a strong pot and bring to a boil. Stir occasionally to make sure the sugar doesn't burn.
Reduce to a simmer and cook 1–2 hours.
Refrigerate in an airtight container for up to two weeks.