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

Evangelos Foutras foutrelis at archlinux.org
Sat Apr 28 22:55:13 EDT 2012


    Date: Saturday, April 28, 2012 @ 22:55:13
  Author: foutrelis
Revision: 157697

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

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

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

Copied: xfce4-sensors-plugin/repos/testing-x86_64/PKGBUILD (from rev 157627, xfce4-sensors-plugin/repos/staging-x86_64/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2012-04-29 02:55:13 UTC (rev 157697)
@@ -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-x86_64/xfce4-sensors-plugin.install (from rev 157627, xfce4-sensors-plugin/repos/staging-x86_64/xfce4-sensors-plugin.install)
===================================================================
--- testing-x86_64/xfce4-sensors-plugin.install	                        (rev 0)
+++ testing-x86_64/xfce4-sensors-plugin.install	2012-04-29 02:55:13 UTC (rev 157697)
@@ -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