Clean, wash and dice the aubergine. Place in a bowl, sprinkle with salt and leave to stand for about 20 minutes. In the meantime peel and finely dice the onion and garlic. Wash and dice the tomatoes.
Heat oil in a large frying pan. Stir-fry the minced meat for 5-8 minutes until crumbly. In the meantime dab aubergine cubes dry with kitchen paper. Add to the mince and fry for about 5 minutes. Fry the onion and garlic briefly.
Season with salt and pepper. Stir in tomato paste and sweat briefly. Add tomato cubes and chunky tomatoes, bring to the boil and simmer covered for about 15 minutes. Season to taste with salt, pepper and sugar.
Meanwhile cook the pasta in 3-4 l boiling salted water (approx. 1 teaspoon salt per litre) according to the instructions on the packet. Grate cheese finely. Wash basil, shake dry, remove leaves and cut into strips.
Drain the pasta. Put them back into the pot and add the sauce. Mix everything, heat up briefly. Season to taste with salt and pepper. Fold in basil. Serve and sprinkle with pecorino.