This may not be something MacGyver would make, but it would be if he was dropped into the Death Star with a horde of Imperial stormtroopers hot on his trail. Especially if he found himself temporarily trapped in the trash compactor with some friendly Jedis, because this DIY lightsaber is made of pretty much all junk.
Surely, he'd be able to find all of the parts, which include a broken camera lens, old hard drives, chrome pipe, film canister, busted microphone, and rubber mat. Some of the parts did come from outside the garbage, but I'm sure MacGyver would be able to find substitutes. Unless the dianoga gets to him first.