# $Id: PKGBUILD 136067 2011-08-22 12:16:31Z andyrtr $ # Maintainer: Andreas Radke # Contributor: Merk Matthias pkgname=xfce4-sensors-plugin pkgver=1.2.3 pkgrel=2 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" groups=('xfce4-goodies') depends=('xfce4-panel' 'lm_sensors' 'libnotify>=0.7.1' 'hicolor-icon-theme') #'libxfcegui4' makedepends=('pkgconfig' 'intltool' 'hddtemp>=0.3.beta15.45-2' 'gnu-netcat' 'xfce4-dev-tools') optdepends=('gnu-netcat: for hddtemp access') options=(!libtool !makeflags) install=${pkgname}.install source=(http://archive.xfce.org/src/panel-plugins/${pkgname}/1.2/${pkgname}-${pkgver}.tar.bz2) md5sums=('2edf376d140449ca42c4e4f591e626f8') build() { cd ${srcdir}/${pkgname}-${pkgver} ./configure --prefix=/usr \ --sysconfdir=/etc \ --libexecdir=/usr/lib \ --localstatedir=/var \ --datadir=/usr/share \ --datarootdir=/usr/share \ --disable-static \ --with-pathhddtemp=/usr/sbin/hddtemp \ --disable-debug make } package() { cd ${srcdir}/${pkgname}-${pkgver} make DESTDIR=${pkgdir} install }