After building grgsm_setup_freedesktop is created. It has to be executed during installation of a package with 'install' as a parameter. During removal of a package it has to be called with 'uninstall' as a parameter.