Season the pumpkin cubes with salt and lemon juice and mix with the bacon.
Boil the pasta in plenty of salted water, shake it off and then add the remaining ingredients to taste. Then fill a buttered casserole dish and bake in a preheated oven at 200 ° C for about 40 minutes.