[arch-commits] Commit in xfce4-sensors-plugin/repos (6 files)

Eric Bélanger eric at archlinux.org
Sun Apr 29 01:36:39 UTC 2012


    Date: Saturday, April 28, 2012 @ 21:36:39
  Author: eric
Revision: 157609

archrelease: copy trunk to staging-i686, staging-x86_64

Added:
  xfce4-sensors-plugin/repos/staging-i686/
  xfce4-sensors-plugin/repos/staging-i686/PKGBUILD
    (from rev 157608, xfce4-sensors-plugin/trunk/PKGBUILD)
  xfce4-sensors-plugin/repos/staging-i686/xfce4-sensors-plugin.install
    (from rev 157608, xfce4-sensors-plugin/trunk/xfce4-sensors-plugin.install)
  xfce4-sensors-plugin/repos/staging-x86_64/
  xfce4-sensors-plugin/repos/staging-x86_64/PKGBUILD
    (from rev 157608, xfce4-sensors-plugin/trunk/PKGBUILD)
  xfce4-sensors-plugin/repos/staging-x86_64/xfce4-sensors-plugin.install
    (from rev 157608, xfce4-sensors-plugin/trunk/xfce4-sensors-plugin.install)

---------------------------------------------+
 staging-i686/PKGBUILD                       |   45 ++++++++++++++++++++++++++
 staging-i686/xfce4-sensors-plugin.install   |   25 ++++++++++++++
 staging-x86_64/PKGBUILD                     |   45 ++++++++++++++++++++++++++
 staging-x86_64/xfce4-sensors-plugin.install |   25 ++++++++++++++
 4 files changed, 140 insertions(+)

Copied: xfce4-sensors-plugin/repos/staging-i686/PKGBUILD (from rev 157608, xfce4-sensors-plugin/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD	                        (rev 0)
+++ staging-i686/PKGBUILD	2012-04-29 01:36:39 UTC (rev 157609)
@@ -0,0 +1,45 @@
+# $Id$
+# Maintainer: Andreas Radke <andyrtr at archlinux.org>
+# Contributor: Merk Matthias <macem at chello.at>
+
+pkgname=xfce4-sensors-plugin
+pkgver=1.2.3
+pkgrel=5
+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' '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"
+
+  # 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:

Copied: xfce4-sensors-plugin/repos/staging-i686/xfce4-sensors-plugin.install (from rev 157608, xfce4-sensors-plugin/trunk/xfce4-sensors-plugin.install)
===================================================================
--- staging-i686/xfce4-sensors-plugin.install	                        (rev 0)
+++ staging-i686/xfce4-sensors-plugin.install	2012-04-29 01:36:39 UTC (rev 157609)
@@ -0,0 +1,25 @@
+post_common() {
+  gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+}
+
+post_install() {
+  post_common
+
+  echo '> Make sure the hddtemp daemon is running, otherwise xfce4-sensors will'
+  echo '> crash on start.'
+}
+
+post_upgrade() {
+  post_common
+
+  if (($(vercmp $2 1.2.3-4) < 0)); then
+    echo '> Make sure the hddtemp daemon is running, otherwise xfce4-sensors will'
+    echo '> crash on start.'
+  fi
+}
+
+post_remove() {
+  post_common
+}
+
+# vim:set ts=2 sw=2 et:

Copied: xfce4-sensors-plugin/repos/staging-x86_64/PKGBUILD (from rev 157608, xfce4-sensors-plugin/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2012-04-29 01:36:39 UTC (rev 157609)
@@ -0,0 +1,45 @@
+# $Id$
+# Maintainer: Andreas Radke <andyrtr at archlinux.org>
+# Contributor: Merk Matthias <macem at chello.at>
+
+pkgname=xfce4-sensors-plugin
+pkgver=1.2.3
+pkgrel=5
+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' '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"
+
+  # 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:

Copied: xfce4-sensors-plugin/repos/staging-x86_64/xfce4-sensors-plugin.install (from rev 157608, xfce4-sensors-plugin/trunk/xfce4-sensors-plugin.install)
===================================================================
--- staging-x86_64/xfce4-sensors-plugin.install	                        (rev 0)
+++ staging-x86_64/xfce4-sensors-plugin.install	2012-04-29 01:36:39 UTC (rev 157609)
@@ -0,0 +1,25 @@
+post_common() {
+  gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+}
+
+post_install() {
+  post_common
+
+  echo '> Make sure the hddtemp daemon is running, otherwise xfce4-sensors will'
+  echo '> crash on start.'
+}
+
+post_upgrade() {
+  post_common
+
+  if (($(vercmp $2 1.2.3-4) < 0)); then
+    echo '> Make sure the hddtemp daemon is running, otherwise xfce4-sensors will'
+    echo '> crash on start.'
+  fi
+}
+
+post_remove() {
+  post_common
+}
+
+# vim:set ts=2 sw=2 et:




More information about the arch-commits mailing list