[arch-commits] Commit in lm_sensors/trunk (PKGBUILD)

Dave Reisner dreisner at archlinux.org
Thu Apr 5 20:23:44 EDT 2012


    Date: Thursday, April 5, 2012 @ 20:23:43
  Author: dreisner
Revision: 155752

upgpkg: lm_sensors 3.3.2-2

- rebuild to fix systemd pathing

Modified:
  lm_sensors/trunk/PKGBUILD

----------+
 PKGBUILD |    5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2012-04-06 00:23:40 UTC (rev 155751)
+++ PKGBUILD	2012-04-06 00:23:43 UTC (rev 155752)
@@ -3,7 +3,7 @@
 
 pkgname=lm_sensors
 pkgver=3.3.2
-pkgrel=1
+pkgrel=2
 pkgdesc="Collection of user space tools for general SMBus access and hardware monitoring"
 arch=('i686' 'x86_64')
 url="http://www.lm-sensors.org/"
@@ -32,6 +32,7 @@
   cd "${srcdir}/${pkgname}-${pkgver}"
   sed -i -e 's|/etc/sysconfig|/etc/conf.d|' \
          -e 's|/etc/init.d/lm_sensors|/etc/rc.d/sensors|' prog/{detect/sensors-detect,init/lm_sensors.service}
+  sed -i 's@\(/bin/systemctl\|/lib/systemd/system\)@/usr\1 at g' prog/detect/sensors-detect
   patch -p1 < ../daemonarg.patch
   patch -p0 < ../linux_3.0.patch
   make PREFIX=/usr
@@ -41,7 +42,7 @@
   cd "${srcdir}/${pkgname}-${pkgver}"
   make PROG_EXTRA=sensord BUILD_STATIC_LIB=0 \
     PREFIX=/usr MANDIR=/usr/share/man DESTDIR="${pkgdir}" install
-  install -D -m644 prog/init/lm_sensors.service "${pkgdir}/lib/systemd/system/lm_sensors.service"
+  install -D -m644 prog/init/lm_sensors.service "${pkgdir}/usr/lib/systemd/system/lm_sensors.service"
   install -D -m755 "${srcdir}/sensors.rc" "${pkgdir}/etc/rc.d/sensors"
   install -D -m755 "${srcdir}/fancontrol.rc" "${pkgdir}/etc/rc.d/fancontrol"
   install -D -m755 "${srcdir}/healthd" "${pkgdir}/usr/sbin/healthd"



More information about the arch-commits mailing list