PKGBUILDs/community/sensors-applet/PKGBUILD
2009-10-09 21:15:33 -05:00

35 lines
1.2 KiB
Bash

# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
# Maintainer: Biru Ionut <biru.ionut at gmail.com>
# Contributor: Roman Kyrylych <roman@archlinux.org>
# Contributor: Michael Barker
pkgname=sensors-applet
pkgver=2.2.4
pkgrel=1
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' 'lm_sensors>=3.0.2' 'libnotify')
makedepends=('intltool' 'gnome-doc-utils>=0.11.2' 'libxnvctrl' 'hicolor-icon-theme')
optdepends=('hddtemp: for HDD support'
'libxnvctrl: for Nvidia GPU support')
install=sensors-applet.install
source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz
'FS9379.patch')
options=('!libtool')
build() {
cd $startdir/src/$pkgname-$pkgver
patch -Np1 -i ../FS9379.patch
./configure --prefix=/usr \
--libexecdir=/usr/lib/sensors-applet \
--localstatedir=/var \
--disable-scrollkeeper \
--with-nvidia \
--enable-libnotify
make || return 1
make DESTDIR=$startdir/pkg install
}
md5sums=('778f637524a90a9b6475ab77b0e90dd9'
'a9dc23d43cc59ec9ab38ce6e4d9ac0e5')