How to use resources file in Packages installer

I’m using a Packages installer to make a custom version of Valentina Server. I need to copy a file into a folder if the file doesn’t exist.

In Packages I can add “Additional Resources” like this:

But how do I refer to the file in the Pre- or Post-Installation scripts?