Two ways to get that ground that I can immediately think of. First would be to drill a hole in the trunk floor that would be adjacent to both the battery tray and the frame, then push a grommet into it and run that ground cable through the grommet and attach it directly to the frame. Pretty much everything electrical in a car soooner or later goes to ground by means of the frame. Even if in the original engine bay location, the battery ground might go to the engine block but somewhere else there will be a ground strap from the engine to the frame. With the battery in the trunk and grounded to the frame, the engine can also be grounded to the frame by means of a short strap or section of cable to guarantee good continuity. Just make sure wherever the groundwire lug is attached is an area where the metal is clean and paint/dirt free.
The second way is a variant on the first. In this scenario, the hole would get drilled but instead of a grommet, a 3/8ths stud would be set in place instead so that it can accept a terminal lug both in the trunk and underneath by the frame. Cheapest way to do that is to cut a short section of all thread and then add nuts and locks as necessary. With the stud in place, the battery ground cable goes to it, and then underneath, a second strap or cable goes to the frame. What this gets you is both a good body ground and a good frame ground as well.
Thing to remember with long battery cables is that resistance increases over distance, hence the need for the heavier gauge cable. Going to ground as close to the battery as possible and using the frame for that purpose lets you use lighter gauge cabling and still get a good strong ground for whatever circuits need it. Just remember to add a ground from the cabin (firewall) to the engine; they were typically used by the factory but tend to disappear as excess wiring during a build or engine swap
Nick