Replaced patches with sed and better usage of ${S} variable

Replaced patches with sed since keeping the patches up to date sucked
Made use of ${S} so ebuilds are less ugly