If you know where the broken wires you can reattach them together based on wire color. Each wire should have its own color such as Black with a White stripe. Normally there is only one wire to be attached to the other so just reattach by same color.
One route is to go to a hardware or auto parts store and find crimp connecters that can be used to reattach the wires. Have the sales person explain this if you can’t figure it out. You can use a pair of pliers to crimp the connector to the wire instead of the special tool usually used. Take note of the wire diameter that needs splicing, the connector size varies with wire diameter to be spiced.
If you don't have time just reconnect and tape each wire then wrap tape around the wire bundle.
It is very typical for the wires to break at the trunk hinge location you describe and common for owners to splice the wires back together. Once all the wires are spliced wrap electrical tape around the wires to add some protection.
The link below provides excess to a Camry manuals and wiring diagrams:
http://www.camrymanuals.com/