[arch-commits] Commit in xfce4-weather-plugin/repos (6 files)
Evangelos Foutras
foutrelis at archlinux.org
Sun Apr 29 00:15:59 UTC 2012
Date: Saturday, April 28, 2012 @ 20:15:58
Author: foutrelis
Revision: 157554
archrelease: copy trunk to staging-i686, staging-x86_64
Added:
xfce4-weather-plugin/repos/staging-i686/
xfce4-weather-plugin/repos/staging-i686/PKGBUILD
(from rev 157553, xfce4-weather-plugin/trunk/PKGBUILD)
xfce4-weather-plugin/repos/staging-i686/xfce4-weather-plugin.install
(from rev 157553, xfce4-weather-plugin/trunk/xfce4-weather-plugin.install)
xfce4-weather-plugin/repos/staging-x86_64/
xfce4-weather-plugin/repos/staging-x86_64/PKGBUILD
(from rev 157553, xfce4-weather-plugin/trunk/PKGBUILD)
xfce4-weather-plugin/repos/staging-x86_64/xfce4-weather-plugin.install
(from rev 157553, xfce4-weather-plugin/trunk/xfce4-weather-plugin.install)
---------------------------------------------+
staging-i686/PKGBUILD | 44 ++++++++++++++++++++++++++
staging-i686/xfce4-weather-plugin.install | 13 +++++++
staging-x86_64/PKGBUILD | 44 ++++++++++++++++++++++++++
staging-x86_64/xfce4-weather-plugin.install | 13 +++++++
4 files changed, 114 insertions(+)
Copied: xfce4-weather-plugin/repos/staging-i686/PKGBUILD (from rev 157553, xfce4-weather-plugin/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD (rev 0)
+++ staging-i686/PKGBUILD 2012-04-29 00:15:58 UTC (rev 157554)
@@ -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/staging-i686/xfce4-weather-plugin.install (from rev 157553, xfce4-weather-plugin/trunk/xfce4-weather-plugin.install)
===================================================================
--- staging-i686/xfce4-weather-plugin.install (rev 0)
+++ staging-i686/xfce4-weather-plugin.install 2012-04-29 00:15:58 UTC (rev 157554)
@@ -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:
Copied: xfce4-weather-plugin/repos/staging-x86_64/PKGBUILD (from rev 157553, xfce4-weather-plugin/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2012-04-29 00:15:58 UTC (rev 157554)
@@ -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/staging-x86_64/xfce4-weather-plugin.install (from rev 157553, xfce4-weather-plugin/trunk/xfce4-weather-plugin.install)
===================================================================
--- staging-x86_64/xfce4-weather-plugin.install (rev 0)
+++ staging-x86_64/xfce4-weather-plugin.install 2012-04-29 00:15:58 UTC (rev 157554)
@@ -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