summaryrefslogtreecommitdiff
path: root/extra/xfce4-sensors-plugin
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-05-18 00:02:20 +0000
committerroot <root@rshg054.dnsready.net>2012-05-18 00:02:20 +0000
commit2f104ecf78d6a93ba8d67273b76364cb1365a6cf (patch)
treec93787a9c08d8cb41a424644dc09fc529dfd63f1 /extra/xfce4-sensors-plugin
parentf675762300c4ee2717e029975bb3f94312245276 (diff)
Fri May 18 00:02:20 UTC 2012
Diffstat (limited to 'extra/xfce4-sensors-plugin')
-rw-r--r--extra/xfce4-sensors-plugin/PKGBUILD18
-rw-r--r--extra/xfce4-sensors-plugin/xfce4-sensors-plugin.install18
2 files changed, 13 insertions, 23 deletions
diff --git a/extra/xfce4-sensors-plugin/PKGBUILD b/extra/xfce4-sensors-plugin/PKGBUILD
index 3d11b36d9..bd561fa89 100644
--- a/extra/xfce4-sensors-plugin/PKGBUILD
+++ b/extra/xfce4-sensors-plugin/PKGBUILD
@@ -1,21 +1,23 @@
-# $Id: PKGBUILD 157883 2012-04-30 04:21:17Z foutrelis $
-# Maintainer: Andreas Radke <andyrtr@archlinux.org>
+# $Id: PKGBUILD 159140 2012-05-16 19:30:19Z foutrelis $
+# Maintainer:
+# Contributor: Andreas Radke <andyrtr@archlinux.org>
# Contributor: Merk Matthias <macem@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')
-license=('GPL2')
url="http://goodies.xfce.org/projects/panel-plugins/xfce4-sensors-plugin"
+license=('GPL2')
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"
diff --git a/extra/xfce4-sensors-plugin/xfce4-sensors-plugin.install b/extra/xfce4-sensors-plugin/xfce4-sensors-plugin.install
index ef6375367..e4f8fd06c 100644
--- a/extra/xfce4-sensors-plugin/xfce4-sensors-plugin.install
+++ b/extra/xfce4-sensors-plugin/xfce4-sensors-plugin.install
@@ -1,25 +1,13 @@
-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.'
+ gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
}
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: