Honestly the best adhesive is none or very little. Get the one piece trunk rubber and fit in place using only a dab of glue at the corners. That way you can clean and dry that area as needed. Usually the area that the trunk gasket lies rots out easily due to water trapped under the weatherstripping.
If you need to use glue the best adhesive to use for the trunk is the Wurth rubber adhesive. It is clear and if you ever have to remove it is easy to clean off by rolling it with your fingers and light solvents. Do not use the 3M black adhesive. It is very aggressive and turns into a hardened mess. Good luck!