summaryrefslogtreecommitdiff
path: root/community/sensors-applet/PKGBUILD
diff options
context:
space:
mode:
authorParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
committerParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
commit415856bdd4f48ab4f2732996f0bae58595092bbe (patch)
treeede2018b591f6dfb477fe9341ba17b9bc000fab9 /community/sensors-applet/PKGBUILD
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'community/sensors-applet/PKGBUILD')
-rw-r--r--community/sensors-applet/PKGBUILD35
1 files changed, 35 insertions, 0 deletions
diff --git a/community/sensors-applet/PKGBUILD b/community/sensors-applet/PKGBUILD
new file mode 100644
index 000000000..2fd81dea0
--- /dev/null
+++ b/community/sensors-applet/PKGBUILD
@@ -0,0 +1,35 @@
+# $Id: PKGBUILD 41542 2011-03-07 16:09:06Z ibiru $
+# Maintainer: Ionut Biru <ibiru@archlinux.org>
+# Contributor: Roman Kyrylych <roman@archlinux.org>
+# Contributor: Michael Barker
+
+pkgname=sensors-applet
+pkgver=2.2.7
+pkgrel=3
+pkgdesc="An applet for the 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-bonobo' 'lm_sensors' 'hicolor-icon-theme')
+makedepends=('intltool' 'gnome-doc-utils>=0.18.1' 'libxnvctrl' 'libgnomeui')
+optdepends=('hddtemp: for HDD support'
+ 'libxnvctrl: for Nvidia GPU support')
+install=sensors-applet.install
+source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz
+ sensors-applet-2.2.7-libnotify-0.7.patch)
+options=('!libtool')
+md5sums=('f342fab98be4f1b9a25af0689af20130'
+ '96a4393d9e75e5eb88a6e906a5a7e464')
+
+build() {
+ cd $srcdir/$pkgname-$pkgver
+ patch -Np1 -i $srcdir/sensors-applet-2.2.7-libnotify-0.7.patch
+ ./configure --prefix=/usr \
+ --libexecdir=/usr/lib/sensors-applet \
+ --localstatedir=/var \
+ --disable-scrollkeeper \
+ --with-nvidia \
+ --enable-libnotify
+ make
+ make DESTDIR=$pkgdir install
+}