Make the pastry first, as you will want to chill it while you make the filling. Combine the flour, sugar, salt and butter in a food processor. Combine until resembling cornmeal. Then gradually add the butter until it has combined but roughly so. Remove from the food processor, roll into a round disc, cover in plastic wrap and place in the refrigerator for 30 minutes.