kludge

nounA clumsy or makeshift solution, especially in engineering or computing, that works but is not elegant or efficient.
verbTo put together a clumsy or makeshift solution, often by combining mismatched parts or ideas.