[arch-commits] Commit in xfce4-weather-plugin/trunk (PKGBUILD)

Evangelos Foutras foutrelis at archlinux.org
Wed Nov 9 18:10:09 UTC 2011


    Date: Wednesday, November 9, 2011 @ 13:10:08
  Author: foutrelis
Revision: 142429

upgpkg: xfce4-weather-plugin 0.7.4-2

Fix FS#26815: expired XOAP license key

Modified:
  xfce4-weather-plugin/trunk/PKGBUILD

----------+
 PKGBUILD |   11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2011-11-09 18:01:55 UTC (rev 142428)
+++ PKGBUILD	2011-11-09 18:10:08 UTC (rev 142429)
@@ -4,7 +4,7 @@
 
 pkgname=xfce4-weather-plugin
 pkgver=0.7.4
-pkgrel=1
+pkgrel=2
 pkgdesc="A weather plugin for the Xfce4 panel"
 arch=('i686' 'x86_64')
 url="http://goodies.xfce.org/projects/panel-plugins/xfce4-weather-plugin"
@@ -15,11 +15,18 @@
 options=('!libtool')
 install=$pkgname.install
 source=(http://archive.xfce.org/src/panel-plugins/$pkgname/0.7/$pkgname-$pkgver.tar.bz2)
-sha1sums=('b99be64134693a428c27a5f147a163e194c29f39')
+sha256sums=('3f76207b8a845d15bfec6825bd5300aedd086c455259c4dd8670a89a3c8ab382')
 
 build() {
   cd "$srcdir/$pkgname-$pkgver"
 
+  # Switch to a working license key
+  # https://bugs.archlinux.org/task/26815
+  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 \
     --sysconfdir=/etc \
     --libexecdir=/usr/lib \




More information about the arch-commits mailing list