diff --git a/srcpkgs/gnome-shell-extension-weather/template b/srcpkgs/gnome-shell-extension-weather/template index b099a5ffdd5..8918072f8ae 100644 --- a/srcpkgs/gnome-shell-extension-weather/template +++ b/srcpkgs/gnome-shell-extension-weather/template @@ -37,3 +37,15 @@ pre_configure() { gnome-autogen.sh } + +post_install() +{ + local _ext_dir=weather\@gnome-shell-extensions.gnome.org + + cp ${wrksrc}/weather-extension-configurator.py \ + ${DESTDIR}/usr/share/gnome-shell/extensions/${_ext_dir}/ + + mkdir -p ${DESTDIR}/usr/bin && cd ${DESTDIR}/usr/bin && \ + ln -s ../share/gnome-shell/extensions/${_ext_dir}/weather-extension-configurator.py \ + weather-extension-configurator +}