diff options
author | root <root@rshg054.dnsready.net> | 2012-02-27 23:15:24 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-02-27 23:15:24 +0000 |
commit | 1f567a9d58d16b76320168f0624aa55bd6320284 (patch) | |
tree | e4e7ffadc364d582fccd8543ad1543fa9741a8a7 /extra/xfce4-sensors-plugin/PKGBUILD | |
parent | f6a79a3f5989efc8db63af942851c56f0c462bb1 (diff) |
Mon Feb 27 23:15:24 UTC 2012
Diffstat (limited to 'extra/xfce4-sensors-plugin/PKGBUILD')
-rw-r--r-- | extra/xfce4-sensors-plugin/PKGBUILD | 49 |
1 files changed, 28 insertions, 21 deletions
diff --git a/extra/xfce4-sensors-plugin/PKGBUILD b/extra/xfce4-sensors-plugin/PKGBUILD index 6ab299b08..736c67f15 100644 --- a/extra/xfce4-sensors-plugin/PKGBUILD +++ b/extra/xfce4-sensors-plugin/PKGBUILD @@ -1,38 +1,45 @@ -# $Id: PKGBUILD 148978 2012-02-05 11:58:42Z ibiru $ +# $Id: PKGBUILD 151507 2012-02-26 21:47:29Z foutrelis $ # Maintainer: Andreas Radke <andyrtr@archlinux.org> # Contributor: Merk Matthias <macem@chello.at> pkgname=xfce4-sensors-plugin pkgver=1.2.3 -pkgrel=3 +pkgrel=4 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') +depends=('xfce4-panel' 'lm_sensors' 'libnotify' 'hddtemp' 'hicolor-icon-theme') +makedepends=('intltool' 'gnu-netcat') +options=('!libtool') +install=$pkgname.install +source=(http://archive.xfce.org/src/panel-plugins/$pkgname/1.2/$pkgname-$pkgver.tar.bz2) +sha256sums=('3dd27348f7b38b55e53aa8d851cdb80e090b8830ca9e705bf32641679f08d326') 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 + 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 + cd "$srcdir/$pkgname-$pkgver" + make DESTDIR="$pkgdir" install } + +# vim:set ts=2 sw=2 et: |