From c76da95630404fbb1998179cf891d408c262404f Mon Sep 17 00:00:00 2001 From: davehome Date: Thu, 19 Jan 2012 11:15:20 -0700 Subject: [PATCH] gnome-shell-extension-weather: install configuration applet. --- srcpkgs/gnome-shell-extension-weather/template | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/srcpkgs/gnome-shell-extension-weather/template b/srcpkgs/gnome-shell-extension-weather/template index b099a5ffdd..8918072f8a 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 +}