From eefecc8813e0c062a2058b33209cb30830f824b6 Mon Sep 17 00:00:00 2001 From: root Date: Thu, 19 Jan 2012 23:15:04 +0000 Subject: Thu Jan 19 23:15:03 UTC 2012 --- staging/xfce4-sensors-plugin/PKGBUILD | 38 ++++++++++++++++++++++ .../xfce4-sensors-plugin.install | 11 +++++++ 2 files changed, 49 insertions(+) create mode 100644 staging/xfce4-sensors-plugin/PKGBUILD create mode 100644 staging/xfce4-sensors-plugin/xfce4-sensors-plugin.install (limited to 'staging/xfce4-sensors-plugin') 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 +# Contributor: Merk Matthias + +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 +} -- cgit v1.2.3-54-g00ecf