# $Id: PKGBUILD 198566 2013-10-30 15:38:50Z allan $ # Maintainer: # Contributor: Andreas Radke # Contributor: Merk Matthias pkgname=xfce4-sensors-plugin pkgver=1.2.5 pkgrel=1 pkgdesc="A lm_sensors plugin for the Xfce panel" arch=('i686' 'x86_64' 'mips64el') url="http://goodies.xfce.org/projects/panel-plugins/xfce4-sensors-plugin" license=('GPL2') groups=('xfce4-goodies') depends=('xfce4-panel' 'lm_sensors' 'libnotify' 'hicolor-icon-theme') makedepends=('intltool' 'hddtemp' 'gnu-netcat') optdepends=('hddtemp: for monitoring the temperature of hard drives') install=$pkgname.install source=(http://archive.xfce.org/src/panel-plugins/$pkgname/1.2/$pkgname-$pkgver.tar.bz2) sha256sums=('6b3c12917116c0610c0ca0824357afcc4ab4553301241e27aa9665159b834c1e') build() { cd "$srcdir/$pkgname-$pkgver" # Satisfy the check that hddtemp is queryable via netcat # (https://bugs.archlinux.org/task/28275) echo ohai | nc -l -p 7634 -s localhost -c & ./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 } # vim:set ts=2 sw=2 et: