summaryrefslogtreecommitdiff
path: root/community/sensors-applet
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-03-24 00:01:22 +0000
committerroot <root@rshg054.dnsready.net>2012-03-24 00:01:22 +0000
commitadac5afd500d4ee3a65035e1cf5353ae236b4a61 (patch)
treef4363891ec4de7b720eb809815fec7199292f5b0 /community/sensors-applet
parent1512c792951d7fbd2c9c336f9bf35654bbb85cc6 (diff)
Sat Mar 24 00:01:22 UTC 2012
Diffstat (limited to 'community/sensors-applet')
-rw-r--r--community/sensors-applet/PKGBUILD32
-rw-r--r--community/sensors-applet/sensors-applet.install12
2 files changed, 44 insertions, 0 deletions
diff --git a/community/sensors-applet/PKGBUILD b/community/sensors-applet/PKGBUILD
new file mode 100644
index 000000000..3c9da15c1
--- /dev/null
+++ b/community/sensors-applet/PKGBUILD
@@ -0,0 +1,32 @@
+# $Id: PKGBUILD 68359 2012-03-23 01:09:57Z bgyorgy $
+# Maintainer: Balló György <ballogyor+arch at gmail dot com>
+
+pkgname=sensors-applet
+pkgver=3.0.0
+pkgrel=2
+pkgdesc="Applet for GNOME Panel to display readings from hardware sensors, including CPU temperature, fan speeds and voltage readings"
+arch=('i686' 'x86_64')
+url="http://sensors-applet.sourceforge.net/"
+license=('GPL')
+depends=('gnome-panel' 'libatasmart' 'lm_sensors' 'xdg-utils')
+makedepends=('intltool' 'gnome-doc-utils')
+optdepends=('hddtemp: get HDD temperatures'
+ 'udisks: get HDD temperatures')
+options=('!libtool')
+install=$pkgname.install
+source=(http://downloads.sourceforge.net/sensors-applet/$pkgname-$pkgver.tar.gz)
+md5sums=('425078fc1ff5a98af1547e039002a73f')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --libexecdir=/usr/lib/$pkgname \
+ --disable-static --disable-scrollkeeper --with-nvidia=no
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ make DESTDIR="$pkgdir/" install
+}
diff --git a/community/sensors-applet/sensors-applet.install b/community/sensors-applet/sensors-applet.install
new file mode 100644
index 000000000..a23a623cc
--- /dev/null
+++ b/community/sensors-applet/sensors-applet.install
@@ -0,0 +1,12 @@
+post_install() {
+ xdg-icon-resource forceupdate
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+
+post_remove() {
+ post_install $1
+}