[arch-commits] Commit in xfce4-weather-plugin/repos (4 files)

Evangelos Foutras foutrelis at archlinux.org
Sun Apr 29 02:55:36 UTC 2012


    Date: Saturday, April 28, 2012 @ 22:55:35
  Author: foutrelis
Revision: 157714

db-move: moved xfce4-weather-plugin from [staging] to [testing] (i686)

Added:
  xfce4-weather-plugin/repos/testing-i686/
  xfce4-weather-plugin/repos/testing-i686/PKGBUILD
    (from rev 157627, xfce4-weather-plugin/repos/staging-i686/PKGBUILD)
  xfce4-weather-plugin/repos/testing-i686/xfce4-weather-plugin.install
    (from rev 157627, xfce4-weather-plugin/repos/staging-i686/xfce4-weather-plugin.install)
Deleted:
  xfce4-weather-plugin/repos/staging-i686/

------------------------------+
 PKGBUILD                     |   44 +++++++++++++++++++++++++++++++++++++++++
 xfce4-weather-plugin.install |   13 ++++++++++++
 2 files changed, 57 insertions(+)

Copied: xfce4-weather-plugin/repos/testing-i686/PKGBUILD (from rev 157627, xfce4-weather-plugin/repos/staging-i686/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD	                        (rev 0)
+++ testing-i686/PKGBUILD	2012-04-29 02:55:35 UTC (rev 157714)
@@ -0,0 +1,44 @@
+# $Id$
+# Maintainer: Evangelos Foutras <evangelos at foutrelis.com>
+# Contributor: Suzy Williams <suzanne.williams3 at verizon.net>
+
+pkgname=xfce4-weather-plugin
+pkgver=0.7.4
+pkgrel=3
+pkgdesc="A weather plugin for the Xfce4 panel"
+arch=('i686' 'x86_64')
+url="http://goodies.xfce.org/projects/panel-plugins/xfce4-weather-plugin"
+license=('GPL2')
+groups=('xfce4-goodies')
+depends=('xfce4-panel' 'libxfcegui4' 'libxml2' 'hicolor-icon-theme')
+makedepends=('intltool')
+options=('!libtool')
+install=$pkgname.install
+source=(http://archive.xfce.org/src/panel-plugins/$pkgname/0.7/$pkgname-$pkgver.tar.bz2)
+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 \
+    --localstatedir=/var \
+    --disable-static \
+    --disable-debug
+  make
+}
+
+package() {
+  cd "$srcdir/$pkgname-$pkgver"
+  make DESTDIR="$pkgdir" install
+}
+
+# vim:set ts=2 sw=2 et:

Copied: xfce4-weather-plugin/repos/testing-i686/xfce4-weather-plugin.install (from rev 157627, xfce4-weather-plugin/repos/staging-i686/xfce4-weather-plugin.install)
===================================================================
--- testing-i686/xfce4-weather-plugin.install	                        (rev 0)
+++ testing-i686/xfce4-weather-plugin.install	2012-04-29 02:55:35 UTC (rev 157714)
@@ -0,0 +1,13 @@
+post_install() {
+  gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+}
+
+post_upgrade() {
+  post_install
+}
+
+post_remove() {
+  post_install
+}
+
+# vim:set ts=2 sw=2 et:




More information about the arch-commits mailing list