[arch-commits] Commit in laptop-mode-tools/repos/extra-any (4 files)
Eric Bélanger
eric at archlinux.org
Fri Oct 14 20:07:28 UTC 2011
Date: Friday, October 14, 2011 @ 16:07:27
Author: eric
Revision: 140456
archrelease: copy trunk to extra-any
Added:
laptop-mode-tools/repos/extra-any/PKGBUILD
(from rev 140455, laptop-mode-tools/trunk/PKGBUILD)
laptop-mode-tools/repos/extra-any/laptop-mode
(from rev 140455, laptop-mode-tools/trunk/laptop-mode)
Deleted:
laptop-mode-tools/repos/extra-any/PKGBUILD
laptop-mode-tools/repos/extra-any/laptop-mode
-------------+
PKGBUILD | 106 ++++++++++++++++++++++++++---------------------------
laptop-mode | 114 +++++++++++++++++++++++++++++-----------------------------
2 files changed, 110 insertions(+), 110 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2011-10-14 20:07:03 UTC (rev 140455)
+++ PKGBUILD 2011-10-14 20:07:27 UTC (rev 140456)
@@ -1,53 +0,0 @@
-# $Id$
-# Maintainer:
-# Contributor: Eric Bélanger <eric at archlinux.org>
-
-pkgname=laptop-mode-tools
-pkgver=1.59
-pkgrel=1
-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')
-depends=('bash' 'hdparm')
-optdepends=('acpid: for ACPI support'
- 'bluez: for bluetooth support'
- 'ethtool: for ethernet support')
-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/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/intel-hda-powersave.conf
- etc/laptop-mode/conf.d/intel-sata-powermgmt.conf
- etc/laptop-mode/conf.d/lcd-brightness.conf
- etc/laptop-mode/conf.d/nmi-watchdog.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-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/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=('0c4de075dd714681b4ff62c84d45513c'
- '4d3b4d95c6532451b3dba588c83fb86b')
-
-package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- sed -i 's|etc/udev|lib/udev|' install.sh
- make DESTDIR="${pkgdir}" INIT_D=none MAN_D=/usr/share/man install
- install -D -m755 "${srcdir}/laptop-mode" "${pkgdir}/etc/rc.d/laptop-mode"
-}
Copied: laptop-mode-tools/repos/extra-any/PKGBUILD (from rev 140455, laptop-mode-tools/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2011-10-14 20:07:27 UTC (rev 140456)
@@ -0,0 +1,53 @@
+# $Id$
+# Maintainer:
+# Contributor: Eric Bélanger <eric at archlinux.org>
+
+pkgname=laptop-mode-tools
+pkgver=1.60
+pkgrel=1
+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')
+depends=('bash' 'hdparm')
+optdepends=('acpid: for ACPI support'
+ 'bluez: for bluetooth support'
+ 'ethtool: for ethernet support')
+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/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/intel-hda-powersave.conf
+ etc/laptop-mode/conf.d/intel-sata-powermgmt.conf
+ etc/laptop-mode/conf.d/lcd-brightness.conf
+ etc/laptop-mode/conf.d/nmi-watchdog.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-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/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=('22bcc955c4e5d28e2f3a992b0efb50b4'
+ '4d3b4d95c6532451b3dba588c83fb86b')
+
+package() {
+ cd "${srcdir}/${pkgname}_${pkgver}"
+ sed -i 's|etc/udev|lib/udev|' install.sh
+ make DESTDIR="${pkgdir}" INIT_D=none MAN_D=/usr/share/man install
+ install -D -m755 "${srcdir}/laptop-mode" "${pkgdir}/etc/rc.d/laptop-mode"
+}
Deleted: laptop-mode
===================================================================
--- laptop-mode 2011-10-14 20:07:03 UTC (rev 140455)
+++ laptop-mode 2011-10-14 20:07:27 UTC (rev 140456)
@@ -1,57 +0,0 @@
-#!/bin/bash
-
-. /etc/rc.conf
-. /etc/rc.d/functions
-
-case "$1" in
- start)
- stat_busy "Starting laptop-mode"
- [ ! -d /var/run/laptop-mode-tools ] && install -d /var/run/laptop-mode-tools
- touch /var/run/laptop-mode-tools/enabled
- /usr/sbin/laptop_mode auto >/dev/null 2>&1
- if [ $? -gt 0 ]; then
- stat_fail
- else
- add_daemon laptop-mode
- stat_done
- fi
- ;;
- stop)
- stat_busy "Stopping laptop-mode"
- rm -f /var/run/laptop-mode-tools/enabled
- /usr/sbin/laptop_mode stop >/dev/null 2>&1
- if [ $? -gt 0 ]; then
- stat_fail
- else
- rm_daemon laptop-mode
- stat_done
- fi
- ;;
- restart)
- stat_busy "Restarting laptop-mode"
- rm -f /var/run/laptop-mode-tools/enabled
- /usr/sbin/laptop_mode stop >/dev/null 2>&1
-
- if [ $? -gt 0 ]; then
- stat_fail
- rm_daemon laptop-mode
- else
- rm -f /var/run/laptop-mode-tools/*
- touch /var/run/laptop-mode-tools/enabled
- /usr/sbin/laptop_mode auto force >/dev/null 2>&1
- if [ $? -gt 0 ]; then
- stat_fail
- rm_daemon laptop-mode
- else
- stat_done
- fi
- fi
- ;;
- status)
- /usr/sbin/laptop_mode status
- ;;
- *)
- echo "Usage: $0 {stop|start|restart|status}"
- ;;
-esac
-exit 0
Copied: laptop-mode-tools/repos/extra-any/laptop-mode (from rev 140455, laptop-mode-tools/trunk/laptop-mode)
===================================================================
--- laptop-mode (rev 0)
+++ laptop-mode 2011-10-14 20:07:27 UTC (rev 140456)
@@ -0,0 +1,57 @@
+#!/bin/bash
+
+. /etc/rc.conf
+. /etc/rc.d/functions
+
+case "$1" in
+ start)
+ stat_busy "Starting laptop-mode"
+ [ ! -d /var/run/laptop-mode-tools ] && install -d /var/run/laptop-mode-tools
+ touch /var/run/laptop-mode-tools/enabled
+ /usr/sbin/laptop_mode auto >/dev/null 2>&1
+ if [ $? -gt 0 ]; then
+ stat_fail
+ else
+ add_daemon laptop-mode
+ stat_done
+ fi
+ ;;
+ stop)
+ stat_busy "Stopping laptop-mode"
+ rm -f /var/run/laptop-mode-tools/enabled
+ /usr/sbin/laptop_mode stop >/dev/null 2>&1
+ if [ $? -gt 0 ]; then
+ stat_fail
+ else
+ rm_daemon laptop-mode
+ stat_done
+ fi
+ ;;
+ restart)
+ stat_busy "Restarting laptop-mode"
+ rm -f /var/run/laptop-mode-tools/enabled
+ /usr/sbin/laptop_mode stop >/dev/null 2>&1
+
+ if [ $? -gt 0 ]; then
+ stat_fail
+ rm_daemon laptop-mode
+ else
+ rm -f /var/run/laptop-mode-tools/*
+ touch /var/run/laptop-mode-tools/enabled
+ /usr/sbin/laptop_mode auto force >/dev/null 2>&1
+ if [ $? -gt 0 ]; then
+ stat_fail
+ rm_daemon laptop-mode
+ else
+ stat_done
+ fi
+ fi
+ ;;
+ status)
+ /usr/sbin/laptop_mode status
+ ;;
+ *)
+ echo "Usage: $0 {stop|start|restart|status}"
+ ;;
+esac
+exit 0
More information about the arch-commits
mailing list