to do sth badly; to make a mess of sth
make a pig's ear (out) of sth
Definitions from the Oxford Advanced Learner's Dictionary, 9th edition