#Maintainer: George Vlahavas pkgname=xfce4-weather-plugin pkgver=0.7.4 pkgrel=1gv_salix13.1 source=(http://archive.xfce.org/src/panel-plugins/xfce4-weather-plugin/0.7/xfce4-weather-plugin-$pkgver.tar.bz2) docs=("readme" "install" "copying" "changelog" "authors" "news" "todo") url=http://goodies.xfce.org/projects/panel-plugins/xfce4-weather-plugin slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "xfce4-weather-plugin (a weather plugin for the xfce panel)" "This panel plugin shows the current temperature and weather condition," "using weather data provided by xoap.weather.com." ) build() { cd $startdir/src/$pkgname-$pkgver # The old license key has expired. Use a working license key, but no idea how long this one work either. sed -i \ -e 's/^#define PARTNER_ID.*/#define PARTNER_ID "1003666583"/' \ -e 's/^#define LICENSE_KEY.*/#define LICENSE_KEY "4128909340a9b2fc"/' \ panel-plugin/weather.h ./configure --prefix=/usr --libdir=/usr/lib${LIBDIRSUFFIX} --localstatedir=/var --sysconfdir=/etc --disable-static --disable-debug make || return 1 make install DESTDIR=$startdir/pkg }