[arch-commits] Commit in xfce4-sensors-plugin/trunk (2 files)

Evangelos Foutras foutrelis at archlinux.org
Wed May 16 19:29:59 UTC 2012


    Date: Wednesday, May 16, 2012 @ 15:29:59
  Author: foutrelis
Revision: 159139

upgpkg: xfce4-sensors-plugin 1.2.5-1

New upstream release.

Modified:
  xfce4-sensors-plugin/trunk/PKGBUILD
  xfce4-sensors-plugin/trunk/xfce4-sensors-plugin.install

------------------------------+
 PKGBUILD                     |   16 +++++++++-------
 xfce4-sensors-plugin.install |   18 +++---------------
 2 files changed, 12 insertions(+), 22 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2012-05-16 18:32:58 UTC (rev 159138)
+++ PKGBUILD	2012-05-16 19:29:59 UTC (rev 159139)
@@ -1,21 +1,23 @@
 # $Id$
-# Maintainer: Andreas Radke <andyrtr at archlinux.org>
+# Maintainer:
+# Contributor: Andreas Radke <andyrtr at archlinux.org>
 # Contributor: Merk Matthias <macem at chello.at>
 
 pkgname=xfce4-sensors-plugin
-pkgver=1.2.3
-pkgrel=5
+pkgver=1.2.5
+pkgrel=1
 pkgdesc="A lm_sensors plugin for the Xfce panel"
 arch=('i686' 'x86_64')
+url="http://goodies.xfce.org/projects/panel-plugins/xfce4-sensors-plugin"
 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')
+depends=('xfce4-panel' 'lm_sensors' 'libnotify' 'hicolor-icon-theme')
+makedepends=('intltool' 'hddtemp' 'gnu-netcat')
+optdepends=('hddtemp: for monitoring the temperature of hard drives')
 options=('!libtool')
 install=$pkgname.install
 source=(http://archive.xfce.org/src/panel-plugins/$pkgname/1.2/$pkgname-$pkgver.tar.bz2)
-sha256sums=('3dd27348f7b38b55e53aa8d851cdb80e090b8830ca9e705bf32641679f08d326')
+sha256sums=('6b3c12917116c0610c0ca0824357afcc4ab4553301241e27aa9665159b834c1e')
 
 build() {
   cd "$srcdir/$pkgname-$pkgver"

Modified: xfce4-sensors-plugin.install
===================================================================
--- xfce4-sensors-plugin.install	2012-05-16 18:32:58 UTC (rev 159138)
+++ xfce4-sensors-plugin.install	2012-05-16 19:29:59 UTC (rev 159139)
@@ -1,25 +1,13 @@
-post_common() {
+post_install() {
   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_install
 }
 
 post_remove() {
-  post_common
+  post_install
 }
 
 # vim:set ts=2 sw=2 et:




More information about the arch-commits mailing list