[arch-commits] Commit in laptop-mode-tools/trunk (PKGBUILD)

Andrea Scarpino andrea at archlinux.org
Mon May 9 08:23:03 UTC 2011


    Date: Monday, May 9, 2011 @ 04:23:02
  Author: andrea
Revision: 123193

upgpkg: laptop-mode-tools 1.57-2
do not install /var/run/ dir

Modified:
  laptop-mode-tools/trunk/PKGBUILD

----------+
 PKGBUILD |   25 +++++++++++++------------
 1 file changed, 13 insertions(+), 12 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2011-05-09 08:21:27 UTC (rev 123192)
+++ PKGBUILD	2011-05-09 08:23:02 UTC (rev 123193)
@@ -1,10 +1,11 @@
 # $Id$
-# Maintainer: Eric Belanger <eric at archlinux.org>
+# Maintainer:
+# Contributor: Eric Belanger <eric at archlinux.org>
 
 pkgname=laptop-mode-tools
 pkgver=1.57
-pkgrel=1
-pkgdesc="Laptop mode is a kernel mode that allows you to extend the battery life of your laptop"
+pkgrel=2
+pkgdesc="A kernel mode that allows you to extend the battery life of your laptop"
 arch=('any')
 url="http://www.samwel.tk/laptop_mode/"
 license=('GPL')
@@ -15,36 +16,36 @@
 backup=(etc/laptop-mode/conf.d/ac97-powersave.conf
         etc/laptop-mode/conf.d/auto-hibernate.conf
         etc/laptop-mode/conf.d/battery-level-polling.conf
-	etc/laptop-mode/conf.d/bluetooth.conf
+        etc/laptop-mode/conf.d/bluetooth.conf
         etc/laptop-mode/conf.d/configuration-file-control.conf
         etc/laptop-mode/conf.d/cpufreq.conf
         etc/laptop-mode/conf.d/dpms-standby.conf
         etc/laptop-mode/conf.d/eee-superhe.conf
         etc/laptop-mode/conf.d/ethernet.conf
         etc/laptop-mode/conf.d/exec-commands.conf
-	etc/laptop-mode/conf.d/hal-polling.conf
+        etc/laptop-mode/conf.d/hal-polling.conf
         etc/laptop-mode/conf.d/intel-hda-powersave.conf
-	etc/laptop-mode/conf.d/intel-sata-powermgmt.conf
+        etc/laptop-mode/conf.d/intel-sata-powermgmt.conf
         etc/laptop-mode/conf.d/lcd-brightness.conf
         etc/laptop-mode/conf.d/runtime-pm.conf
-	etc/laptop-mode/conf.d/sched-mc-power-savings.conf
+        etc/laptop-mode/conf.d/sched-mc-power-savings.conf
         etc/laptop-mode/conf.d/sched-smt-power-savings.conf
         etc/laptop-mode/conf.d/start-stop-programs.conf
         etc/laptop-mode/conf.d/terminal-blanking.conf
         etc/laptop-mode/conf.d/usb-autosuspend.conf
-	etc/laptop-mode/conf.d/video-out.conf
+        etc/laptop-mode/conf.d/video-out.conf
         etc/laptop-mode/conf.d/wireless-ipw-power.conf
         etc/laptop-mode/conf.d/wireless-iwl-power.conf
         etc/laptop-mode/conf.d/wireless-power.conf
         etc/laptop-mode/laptop-mode.conf
         etc/laptop-mode/lm-profiler.conf)
-source=(http://www.samwel.tk/laptop_mode/tools/downloads/${pkgname}_${pkgver}.tar.gz laptop-mode)
-md5sums=('1d9e4f4e3ff3f16d298e1653483f3f58' 'fe47441f14e2b39c2fe473685f04395f')
-sha1sums=('775f3360c1ffa70950b552857caa71ebc14583e4' 'f98e3c35d365c7aa0e662ec61c2991640640ac9b')
+source=("http://www.samwel.tk/laptop_mode/tools/downloads/${pkgname}_${pkgver}.tar.gz"
+        'laptop-mode')
+md5sums=('1d9e4f4e3ff3f16d298e1653483f3f58'
+         'fe47441f14e2b39c2fe473685f04395f')
 
 package() {
   cd "${srcdir}/${pkgname}_${pkgver}"
   DESTDIR="${pkgdir}" INIT_D=none MAN_D=/usr/share/man ./install.sh
-  install -d "${pkgdir}/var/run/laptop-mode-tools/"
   install -D -m755 "${srcdir}/laptop-mode" "${pkgdir}/etc/rc.d/laptop-mode"
 }




More information about the arch-commits mailing list