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

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


    Date: Saturday, April 28, 2012 @ 22:55:11
  Author: foutrelis
Revision: 157696

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

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

------------------------------+
 PKGBUILD                     |   45 +++++++++++++++++++++++++++++++++++++++++
 xfce4-sensors-plugin.install |   25 ++++++++++++++++++++++
 2 files changed, 70 insertions(+)

Copied: xfce4-sensors-plugin/repos/testing-i686/PKGBUILD (from rev 157627, xfce4-sensors-plugin/repos/staging-i686/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD	                        (rev 0)
+++ testing-i686/PKGBUILD	2012-04-29 02:55:11 UTC (rev 157696)
@@ -0,0 +1,45 @@
+# $Id$
+# Maintainer: Andreas Radke <andyrtr at archlinux.org>
+# Contributor: Merk Matthias <macem at chello.at>
+
+pkgname=xfce4-sensors-plugin
+pkgver=1.2.3
+pkgrel=5
+pkgdesc="A lm_sensors plugin for the Xfce panel"
+arch=('i686' 'x86_64')
+license=('GPL2')
+url="http://goodies.xfce.org/projects/panel-plugins/xfce4-sensors-plugin"
+groups=('xfce4-goodies')
+depends=('xfce4-panel' 'lm_sensors' 'libnotify' 'hddtemp' 'hicolor-icon-theme')
+makedepends=('intltool' 'gnu-netcat')
+options=('!libtool')
+install=$pkgname.install
+source=(http://archive.xfce.org/src/panel-plugins/$pkgname/1.2/$pkgname-$pkgver.tar.bz2)
+sha256sums=('3dd27348f7b38b55e53aa8d851cdb80e090b8830ca9e705bf32641679f08d326')
+
+build() {
+  cd "$srcdir/$pkgname-$pkgver"
+
+  # Satisfy the check that hddtemp is queryable via netcat
+  # (https://bugs.archlinux.org/task/28275)
+  echo ohai | nc -l -p 7634 -s localhost -c &
+
+  ./configure \
+    --prefix=/usr \
+    --sysconfdir=/etc \
+    --libexecdir=/usr/lib \
+    --localstatedir=/var \
+    --datadir=/usr/share \
+    --datarootdir=/usr/share \
+    --disable-static \
+    --with-pathhddtemp=/usr/sbin/hddtemp \
+    --disable-debug
+  make
+}
+
+package() {
+  cd "$srcdir/$pkgname-$pkgver"
+  make DESTDIR="$pkgdir" install
+}
+
+# vim:set ts=2 sw=2 et:

Copied: xfce4-sensors-plugin/repos/testing-i686/xfce4-sensors-plugin.install (from rev 157627, xfce4-sensors-plugin/repos/staging-i686/xfce4-sensors-plugin.install)
===================================================================
--- testing-i686/xfce4-sensors-plugin.install	                        (rev 0)
+++ testing-i686/xfce4-sensors-plugin.install	2012-04-29 02:55:11 UTC (rev 157696)
@@ -0,0 +1,25 @@
+post_common() {
+  gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+}
+
+post_install() {
+  post_common
+
+  echo '> Make sure the hddtemp daemon is running, otherwise xfce4-sensors will'
+  echo '> crash on start.'
+}
+
+post_upgrade() {
+  post_common
+
+  if (($(vercmp $2 1.2.3-4) < 0)); then
+    echo '> Make sure the hddtemp daemon is running, otherwise xfce4-sensors will'
+    echo '> crash on start.'
+  fi
+}
+
+post_remove() {
+  post_common
+}
+
+# vim:set ts=2 sw=2 et:




More information about the arch-commits mailing list