It's recommended to create a clean build environment
mkdir build
cd build/
Run cmake
to configure the build environment and then make
to build
cmake -DCMAKE_INSTALL_PREFIX=/usr ..
make
To install, use make install
sudo make install
Download prebuild binairy from Release
Install it by coping file to wingpanel plugin folder as below.
sudo cp libweather.so /usr/lib/x86_64-linux-gnu/wingpanel/libweather.so
pkill -9 wingpanel
Get secret key from darksky.net and store it in your config file.
cat ~/.weather.config
{
"key":"XXXXXXXXXXXXXXXXXXXX"
}