Not able to install a generally visible terminfo file

I want to distribute a program that installs its own terminfo file. Usually, these files go to /usr/share/terminfo (for all users) resp. ~/.terminfo (for one user).

However, it turns out that writing the/usr/share/terminfo is restricted and not possible during a regular package installation. And ~/.terminfo is user specific and not suitable for programs that are installed for all users. Trying out /usr/local/share/terminfo didn't work; it would require for the user to set the environment variable TERMINFO before start.

Is there a local, standard directory available that could be used here?

Not able to install a generally visible terminfo file
 
 
Q