[arch-commits] Commit in xfce4-sensors-plugin/trunk (PKGBUILD)

andyrtr at archlinux.org andyrtr at archlinux.org
Sun Jun 6 07:24:56 EDT 2010


    Date: Sunday, June 6, 2010 @ 07:24:56
  Author: andyrtr
Revision: 81854

upgpkg: xfce4-sensors-plugin 1.0.0-2
add gnu-netcat dep for hddtemp access; #19276

Modified:
  xfce4-sensors-plugin/trunk/PKGBUILD

----------+
 PKGBUILD |    8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2010-06-06 11:16:19 UTC (rev 81853)
+++ PKGBUILD	2010-06-06 11:24:56 UTC (rev 81854)
@@ -1,9 +1,10 @@
 # $Id$
+# Maintainer: Andreas Radke <andyrtr at archlinux.org>
 # Contributor: Merk Matthias <macem at chello.at>
 
 pkgname=xfce4-sensors-plugin
 pkgver=1.0.0
-pkgrel=1
+pkgrel=2
 pkgdesc="A lm_sensors plugin for the Xfce panel"
 arch=('i686' 'x86_64')
 license=('GPL2')
@@ -11,6 +12,7 @@
 groups=('xfce4-goodies')
 depends=('xfce4-panel>=4.6.0' 'lm_sensors>=3.1.0' 'libnotify' 'hicolor-icon-theme')
 makedepends=('pkgconfig' 'intltool' 'hddtemp>=0.3.beta15.45-2' 'gnu-netcat')
+optdepends=('gnu-netcat: for hddtemp access')
 options=(!libtool)
 install=${pkgname}.install
 source=(http://archive.xfce.org/src/panel-plugins/${pkgname}/1.0/${pkgname}-${pkgver}.tar.bz2)
@@ -22,5 +24,9 @@
 	--libexecdir=/usr/lib --localstatedir=/var \
 	--disable-static --with-pathhddtemp=/usr/sbin/hddtemp
   make || return 1
+}
+
+package() {
+  cd ${srcdir}/${pkgname}-${pkgver}
   make DESTDIR=${pkgdir} install || return 1
 }



More information about the arch-commits mailing list