No trap involved either, actually very spur of the moment.
I was unloading my last bag of feed from a pallet in one of my barn stalls, and something in the pallet moved. After previous run ins with various critters, I went to the house, got a light and my 9mm (all I had at the time) and returned. When the light hit the critter, all I saw was black coarse fur between the pallet slats.
And then a white stripe.
I aimed where I thought the head was in the pallet and fired twice. He kept moving out. I exited the stall and from the barn watched as he dragged himself out of the pallet - paralyzed from the back down. One lucky shot!
Next shot put him down, and I dispatched the corpse to the dump.
On a side note, even though he didn't spray, the barn stank of skunk for months afterwards, even with a healthy application of barn lime.