[arch-commits] Commit in laptop-mode-tools/repos/community-any (4 files)
Lukas Jirkovsky
stativ at nymeria.archlinux.org
Wed Sep 11 12:02:09 UTC 2013
Date: Wednesday, September 11, 2013 @ 14:02:08
Author: stativ
Revision: 97044
archrelease: copy trunk to community-any
Added:
laptop-mode-tools/repos/community-any/PKGBUILD
(from rev 97043, laptop-mode-tools/trunk/PKGBUILD)
laptop-mode-tools/repos/community-any/laptop-mode.install
(from rev 97043, laptop-mode-tools/trunk/laptop-mode.install)
Deleted:
laptop-mode-tools/repos/community-any/PKGBUILD
laptop-mode-tools/repos/community-any/laptop-mode.install
---------------------+
PKGBUILD | 124 +++++++++++++++++++++++++-------------------------
laptop-mode.install | 28 +++++------
2 files changed, 76 insertions(+), 76 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2013-09-11 11:59:04 UTC (rev 97043)
+++ PKGBUILD 2013-09-11 12:02:08 UTC (rev 97044)
@@ -1,62 +0,0 @@
-# $Id: PKGBUILD 140455 2011-10-14 20:07:03Z eric $
-# Maintainer: Lukas Jirkovsky <l.jirkovsky at gmail.com>
-# Contributor: Eric Bélanger <eric at archlinux.org>
-
-pkgname=laptop-mode-tools
-pkgver=1.63
-pkgrel=3
-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')
-optdepends=('acpid: ACPI support'
- 'bluez-utils: bluetooth support'
- 'hdparm: hard disk power management'
- 'sdparm: SCSI disk power management'
- 'ethtool: ethernet support'
- 'wireless_tools: WiFi support'
- 'xorg-xset: DPMS standby 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/pcie-aspm.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)
-install=laptop-mode.install
-source=("http://www.samwel.tk/laptop_mode/tools/downloads/${pkgname}_${pkgver}.tar.gz")
-md5sums=('58d7dbffe9a60746a67f4b2a27ab284f')
-
-build() {
- cd "$srcdir/${pkgname}_$pkgver"
-}
-
-package() {
- cd "$srcdir/${pkgname}_$pkgver"
- make DESTDIR="$pkgdir" INIT_D=none MAN_D=/usr/share/man LIB_D=/usr/lib install
- # use bin instead of sbin
- mv "$pkgdir/usr/sbin" "$pkgdir/usr/bin"
- find "$pkgdir" -type f -exec sed -i 's|sbin/laptop_mode|bin/laptop_mode|g' '{}' ';'
-}
Copied: laptop-mode-tools/repos/community-any/PKGBUILD (from rev 97043, laptop-mode-tools/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2013-09-11 12:02:08 UTC (rev 97044)
@@ -0,0 +1,62 @@
+# $Id: PKGBUILD 140455 2011-10-14 20:07:03Z eric $
+# Maintainer: Lukas Jirkovsky <l.jirkovsky at gmail.com>
+# Contributor: Eric Bélanger <eric at archlinux.org>
+
+pkgname=laptop-mode-tools
+pkgver=1.64
+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')
+optdepends=('acpid: ACPI support'
+ 'bluez-utils: bluetooth support'
+ 'hdparm: hard disk power management'
+ 'sdparm: SCSI disk power management'
+ 'ethtool: ethernet support'
+ 'wireless_tools: WiFi support'
+ 'xorg-xset: DPMS standby 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/pcie-aspm.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)
+install=laptop-mode.install
+source=("http://www.samwel.tk/laptop_mode/tools/downloads/${pkgname}_${pkgver}.tar.gz")
+md5sums=('d3bc81f0eac6315e5653cd4f8965d844')
+
+build() {
+ cd "$srcdir/${pkgname}_$pkgver"
+}
+
+package() {
+ cd "$srcdir/${pkgname}_$pkgver"
+ make DESTDIR="$pkgdir" INIT_D=none MAN_D=/usr/share/man LIB_D=/usr/lib install
+ # use bin instead of sbin
+ mv "$pkgdir/usr/sbin" "$pkgdir/usr/bin"
+ find "$pkgdir" -type f -exec sed -i 's|sbin/laptop_mode|bin/laptop_mode|g' '{}' ';'
+}
Deleted: laptop-mode.install
===================================================================
--- laptop-mode.install 2013-09-11 11:59:04 UTC (rev 97043)
+++ laptop-mode.install 2013-09-11 12:02:08 UTC (rev 97044)
@@ -1,14 +0,0 @@
-## arg 1: the new package version
-## arg 2: the old package version
-post_upgrade() {
- # do something here
- if [ `vercmp $2 1.62` -lt 0 ] ; then
- echo "The systemd service name has changed from \laptop-mode-tools\" to \"laptop-mode\""
- echo "The change requires the old symlink to be manually removed:"
- echo " rm /etc/systemd/system/multi-user.target.wants/laptop-mode-tools.service"
- echo "The laptop-mode.service can be enabled using:"
- echo " systemctl enable laptop-mode"
- fi
-}
-
-# vim:set ts=2 sw=2 et:
Copied: laptop-mode-tools/repos/community-any/laptop-mode.install (from rev 97043, laptop-mode-tools/trunk/laptop-mode.install)
===================================================================
--- laptop-mode.install (rev 0)
+++ laptop-mode.install 2013-09-11 12:02:08 UTC (rev 97044)
@@ -0,0 +1,14 @@
+## arg 1: the new package version
+## arg 2: the old package version
+post_upgrade() {
+ # do something here
+ if [ `vercmp $2 1.62` -lt 0 ] ; then
+ echo "The systemd service name has changed from \laptop-mode-tools\" to \"laptop-mode\""
+ echo "The change requires the old symlink to be manually removed:"
+ echo " rm /etc/systemd/system/multi-user.target.wants/laptop-mode-tools.service"
+ echo "The laptop-mode.service can be enabled using:"
+ echo " systemctl enable laptop-mode"
+ fi
+}
+
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list