diff options
author | root <root@rshg054.dnsready.net> | 2012-01-19 23:15:04 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-01-19 23:15:04 +0000 |
commit | eefecc8813e0c062a2058b33209cb30830f824b6 (patch) | |
tree | f2dd237a65b4a8a3587da4cb6ac211ae6048911f /staging/xfce4-sensors-plugin | |
parent | 3e2075427791725d8e6a007feba107d94c017caf (diff) |
Thu Jan 19 23:15:03 UTC 2012
Diffstat (limited to 'staging/xfce4-sensors-plugin')
-rw-r--r-- | staging/xfce4-sensors-plugin/PKGBUILD | 38 | ||||
-rw-r--r-- | staging/xfce4-sensors-plugin/xfce4-sensors-plugin.install | 11 |
2 files changed, 49 insertions, 0 deletions
diff --git a/staging/xfce4-sensors-plugin/PKGBUILD b/staging/xfce4-sensors-plugin/PKGBUILD new file mode 100644 index 000000000..de4048cec --- /dev/null +++ b/staging/xfce4-sensors-plugin/PKGBUILD @@ -0,0 +1,38 @@ +# $Id: PKGBUILD 146897 2012-01-19 03:58:55Z foutrelis $ +# Maintainer: Andreas Radke <andyrtr@archlinux.org> +# Contributor: Merk Matthias <macem@chello.at> + +pkgname=xfce4-sensors-plugin +pkgver=1.2.3 +pkgrel=3 +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 +} diff --git a/staging/xfce4-sensors-plugin/xfce4-sensors-plugin.install b/staging/xfce4-sensors-plugin/xfce4-sensors-plugin.install new file mode 100644 index 000000000..17ca8f78a --- /dev/null +++ b/staging/xfce4-sensors-plugin/xfce4-sensors-plugin.install @@ -0,0 +1,11 @@ +post_install() { + gtk-update-icon-cache -q -t -f usr/share/icons/hicolor +} + +post_upgrade() { + post_install $1 +} + +post_remove() { + post_install $1 +} |