There's no 'trick' to building a PC for your car, really. There's no need to worry about buying incompatible items, either.
You're building a PC, plain and simple. The unique thing about the PC you build is that it has to function properly and meet the power requirements of your vehicle's electrical system.
Size and heat dissipation are also significant considerations, but those aren't the same for everyone.