[arch-commits] CVS update of arch/build/system/lm_sensors (PKGBUILD sensors.install)
andyrtr at archlinux.org
andyrtr at archlinux.org
Fri Jul 13 09:44:12 UTC 2007
Date: Friday, July 13, 2007 @ 05:44:12
Author: andyrtr
Path: /home/cvs-arch/arch/build/system/lm_sensors
Modified: PKGBUILD (1.5 -> 1.6) sensors.install (1.1 -> 1.2)
added fancontrol init script
-----------------+
PKGBUILD | 12 ++++++++----
sensors.install | 4 ++++
2 files changed, 12 insertions(+), 4 deletions(-)
Index: arch/build/system/lm_sensors/PKGBUILD
diff -u arch/build/system/lm_sensors/PKGBUILD:1.5 arch/build/system/lm_sensors/PKGBUILD:1.6
--- arch/build/system/lm_sensors/PKGBUILD:1.5 Thu Apr 5 17:40:03 2007
+++ arch/build/system/lm_sensors/PKGBUILD Fri Jul 13 05:44:12 2007
@@ -1,18 +1,21 @@
-# $Id: PKGBUILD,v 1.5 2007/04/05 21:40:03 andyrtr Exp $
+# $Id: PKGBUILD,v 1.6 2007/07/13 09:44:12 andyrtr Exp $
# Maintainer: aurelien <aurelien at archlinux.org>
# Contributor: Aurelien Foret <orelien at chez.com>
pkgname=lm_sensors
pkgver=2.10.3
-pkgrel=1
+pkgrel=2
pkgdesc="Collection of user space tools for general SMBus access and hardware monitoring."
arch=(i686 x86_64)
+license=('GPL')
depends=('perl' 'sysfsutils')
makedepends=('bison')
backup=(etc/sensors.conf)
install=sensors.install
-source=(ftp://ftp.netroedge.com/pub/lm-sensors/lm_sensors-$pkgver.tar.gz sensors.rc)
+source=(ftp://ftp.netroedge.com/pub/lm-sensors/lm_sensors-$pkgver.tar.gz sensors.rc fancontrol.rc)
url="http://www.lm-sensors.org/"
-md5sums=('55d77146fbd56c205a9f81d262b9453c' 'ed3fc34e7c7df783b5d6160db6f157d8')
+md5sums=('55d77146fbd56c205a9f81d262b9453c'
+ 'ed3fc34e7c7df783b5d6160db6f157d8'
+ '540abc9d5355f80b620febd3d7f1507f')
build() {
cd $startdir/src/$pkgname-$pkgver
@@ -20,6 +23,7 @@
make user_install PREFIX=/usr DESTDIR=$startdir/pkg
install -DT -m755 ../sensors.rc $startdir/pkg/etc/rc.d/sensors
+ install -DT -m755 ../fancontrol.rc $startdir/pkg/etc/rc.d/fancontrol
# FIXME: avoid conflicts with glibc headers
rm -rf $startdir/pkg/usr/include/linux
Index: arch/build/system/lm_sensors/sensors.install
diff -u arch/build/system/lm_sensors/sensors.install:1.1 arch/build/system/lm_sensors/sensors.install:1.2
--- arch/build/system/lm_sensors/sensors.install:1.1 Sat Dec 9 10:19:43 2006
+++ arch/build/system/lm_sensors/sensors.install Fri Jul 13 05:44:12 2007
@@ -7,6 +7,10 @@
echo ">>> so you can control lm_senors by typing"
echo ">>> \"/etc/rc.d/sensors start|stop|restart\" "
fi
+ if [ "`vercmp $2 2.10.3-2`" -lt 0 ]; then
+ echo ">>> we have added a daemon script for fancontrol"
+ echo ">>> first create a fancontrol config file, use \"pwmconfig\""
+ fi
}
op=$1
More information about the arch-commits
mailing list