[arch-commits] Commit in tlp/repos/community-any (4 files)
Maxime Gauduin
alucryd at nymeria.archlinux.org
Mon Mar 24 23:25:32 UTC 2014
Date: Tuesday, March 25, 2014 @ 00:25:32
Author: alucryd
Revision: 108216
archrelease: copy trunk to community-any
Added:
tlp/repos/community-any/PKGBUILD
(from rev 108215, tlp/trunk/PKGBUILD)
tlp/repos/community-any/tlp-arch.patch
(from rev 108215, tlp/trunk/tlp-arch.patch)
Deleted:
tlp/repos/community-any/PKGBUILD
tlp/repos/community-any/tlp-arch.patch
----------------+
PKGBUILD | 128 +++++++++++++++++++++++++++----------------------------
tlp-arch.patch | 82 +++++++++++++++++------------------
2 files changed, 105 insertions(+), 105 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2014-03-24 23:25:27 UTC (rev 108215)
+++ PKGBUILD 2014-03-24 23:25:32 UTC (rev 108216)
@@ -1,64 +0,0 @@
-# $Id$
-# Maintainer: Maxime Gauduin <alucryd at gmail.com>
-# Contributor: Marc Schulte <bomba at nerdstube.de>
-
-pkgbase=tlp
-pkgname=('tlp' 'tlp-rdw')
-pkgver=0.5
-pkgrel=1
-arch=('any')
-url='http://linrunner.de/en/tlp/docs/tlp-linux-advanced-power-management.html'
-license=('GPL2')
-source=("https://github.com/linrunner/TLP/archive/${pkgver}.tar.gz"
- 'tlp-arch.patch')
-sha256sums=('e535e53c340a1af2ea72f0de8a2ffbfc5f832a4e29c391a4052ab1d783c5c157'
- 'd240143cde75c2d6edf09e001459e79e49652934f5b02ed0174f99e8fe4eabce')
-
-prepare() {
- cd TLP-${pkgver}
-
- patch -Np1 -i ../tlp-arch.patch
-}
-
-package_tlp() {
-pkgdesc='Linux Advanced Power Management'
-depends=('bash' 'hdparm' 'perl' 'rfkill' 'wireless_tools')
-optdepends=('acpi_call: Sandy Bridge and newer ThinkPad battery functions'
- 'acpid: ThinkPad wireless radio switch'
- 'ethtool: Disable Wake On Lan'
- 'iw: Wifi power save'
- 'lsb-release: Display LSB release version in tlp-stat'
- 'smartmontools: Display S.M.A.R.T. data in tlp-stat'
- 'tp_smapi: ThinkPad battery functions')
-conflicts=('laptop-mode-tools' 'pm-utils')
-backup=('etc/default/tlp')
-
- cd TLP-${pkgver}
-
- export TLP_SBIN='/usr/bin'
- export TLP_ULIB='/usr/lib/udev'
- export TLP_NO_INIT='1'
- export TLP_NO_PMUTILS='1'
- make DESTDIR="${pkgdir}" install-tlp
-
-# Systemd
- install -dm 755 "${pkgdir}"/usr/lib/systemd/system
- install -m 644 tlp.service "${pkgdir}"/usr/lib/systemd/system/
- install -m 644 tlp-sleep.service "${pkgdir}"/usr/lib/systemd/system/
-
-# Manpages
- install -dm 755 "${pkgdir}"/usr/share/man/man{1,8}
- install -m 644 man/*.1 "${pkgdir}"/usr/share/man/man1/
- install -m 644 man/*.8 "${pkgdir}"/usr/share/man/man8/
-}
-
-package_tlp-rdw() {
-pkgdesc='Linux Advanced Power Management - Radio Device Wizard'
-depends=('networkmanager' 'tlp')
-
- cd TLP-${pkgver}
-
- make DESTDIR="${pkgdir}" install-rdw
-}
-
-# vim: ts=2 sw=2 et:
Copied: tlp/repos/community-any/PKGBUILD (from rev 108215, tlp/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2014-03-24 23:25:32 UTC (rev 108216)
@@ -0,0 +1,64 @@
+# $Id$
+# Maintainer: Maxime Gauduin <alucryd at gmail.com>
+# Contributor: Marc Schulte <bomba at nerdstube.de>
+
+pkgbase=tlp
+pkgname=('tlp' 'tlp-rdw')
+pkgver=0.5
+pkgrel=2
+arch=('any')
+url='http://linrunner.de/en/tlp/docs/tlp-linux-advanced-power-management.html'
+license=('GPL2' 'GPL3')
+source=("https://github.com/linrunner/TLP/archive/${pkgver}.tar.gz"
+ 'tlp-arch.patch')
+sha256sums=('e535e53c340a1af2ea72f0de8a2ffbfc5f832a4e29c391a4052ab1d783c5c157'
+ 'd240143cde75c2d6edf09e001459e79e49652934f5b02ed0174f99e8fe4eabce')
+
+prepare() {
+ cd TLP-${pkgver}
+
+ patch -Np1 -i ../tlp-arch.patch
+}
+
+package_tlp() {
+pkgdesc='Linux Advanced Power Management'
+depends=('bash' 'hdparm' 'perl' 'rfkill' 'wireless_tools')
+optdepends=('acpi_call: Sandy Bridge and newer ThinkPad battery functions'
+ 'acpid: ThinkPad wireless radio switch'
+ 'ethtool: Disable Wake On Lan'
+ 'iw: Wifi power save'
+ 'lsb-release: Display LSB release version in tlp-stat'
+ 'smartmontools: Display S.M.A.R.T. data in tlp-stat'
+ 'tp_smapi: ThinkPad battery functions')
+conflicts=('laptop-mode-tools' 'pm-utils')
+backup=('etc/default/tlp')
+
+ cd TLP-${pkgver}
+
+ export TLP_SBIN='/usr/bin'
+ export TLP_ULIB='/usr/lib/udev'
+ export TLP_NO_INIT='1'
+ export TLP_NO_PMUTILS='1'
+ make DESTDIR="${pkgdir}" install-tlp
+
+# Systemd
+ install -dm 755 "${pkgdir}"/usr/lib/systemd/system
+ install -m 644 tlp.service "${pkgdir}"/usr/lib/systemd/system/
+ install -m 644 tlp-sleep.service "${pkgdir}"/usr/lib/systemd/system/
+
+# Manpages
+ install -dm 755 "${pkgdir}"/usr/share/man/man{1,8}
+ install -m 644 man/*.1 "${pkgdir}"/usr/share/man/man1/
+ install -m 644 man/*.8 "${pkgdir}"/usr/share/man/man8/
+}
+
+package_tlp-rdw() {
+pkgdesc='Linux Advanced Power Management - Radio Device Wizard'
+depends=('networkmanager' 'tlp')
+
+ cd TLP-${pkgver}
+
+ make DESTDIR="${pkgdir}" install-rdw
+}
+
+# vim: ts=2 sw=2 et:
Deleted: tlp-arch.patch
===================================================================
--- tlp-arch.patch 2014-03-24 23:25:27 UTC (rev 108215)
+++ tlp-arch.patch 2014-03-24 23:25:32 UTC (rev 108216)
@@ -1,41 +0,0 @@
-diff -rupN TLP-0.4.1.orig/tlp.rules TLP-0.4.1/tlp.rules
---- TLP-0.4.1.orig/tlp.rules 2014-01-02 17:48:08.000000000 +0100
-+++ TLP-0.4.1/tlp.rules 2014-01-27 11:16:06.231719068 +0100
-@@ -4,7 +4,7 @@
- # This software is licensed under the GPL v2 or later.
-
- # handle change of power source ac/bat
--ACTION=="change", SUBSYSTEM=="power_supply", ATTR{type}=="Mains", RUN+="/usr/sbin/tlp auto"
-+ACTION=="change", SUBSYSTEM=="power_supply", ATTR{type}=="Mains", RUN+="/usr/bin/tlp auto"
-
- # handle added usb devices (exclude subdevices)
--ACTION=="add", SUBSYSTEM=="usb", DRIVER=="usb", ENV{DEVTYPE}=="usb_device", RUN+="/lib/udev/tlp-usb-udev %p"
-+ACTION=="add", SUBSYSTEM=="usb", DRIVER=="usb", ENV{DEVTYPE}=="usb_device", RUN+="/usr/lib/udev/tlp-usb-udev %p"
-diff -rupN TLP-0.4.1.orig/tlp.service TLP-0.4.1/tlp.service
---- TLP-0.4.1.orig/tlp.service 2014-01-02 17:48:08.000000000 +0100
-+++ TLP-0.4.1/tlp.service 2014-01-27 11:13:34.737140892 +0100
-@@ -11,8 +11,8 @@ Before=shutdown.target
- [Service]
- Type=oneshot
- RemainAfterExit=yes
--ExecStart=/usr/sbin/tlp init start
--ExecStop=/usr/sbin/tlp init stop
-+ExecStart=/usr/bin/tlp init start
-+ExecStop=/usr/bin/tlp init stop
-
- [Install]
- WantedBy=multi-user.target
-diff -rupN TLP-0.4.1.orig/tlp-sleep.service TLP-0.4.1/tlp-sleep.service
---- TLP-0.4.1.orig/tlp-sleep.service 2014-01-02 17:48:08.000000000 +0100
-+++ TLP-0.4.1/tlp-sleep.service 2014-01-27 11:16:53.463600400 +0100
-@@ -11,8 +11,8 @@ StopWhenUnneeded=yes
- [Service]
- Type=oneshot
- RemainAfterExit=yes
--ExecStart=/usr/sbin/tlp suspend
--ExecStop=/usr/sbin/tlp resume
-+ExecStart=/usr/bin/tlp suspend
-+ExecStop=/usr/bin/tlp resume
-
- [Install]
- WantedBy=sleep.target
Copied: tlp/repos/community-any/tlp-arch.patch (from rev 108215, tlp/trunk/tlp-arch.patch)
===================================================================
--- tlp-arch.patch (rev 0)
+++ tlp-arch.patch 2014-03-24 23:25:32 UTC (rev 108216)
@@ -0,0 +1,41 @@
+diff -rupN TLP-0.4.1.orig/tlp.rules TLP-0.4.1/tlp.rules
+--- TLP-0.4.1.orig/tlp.rules 2014-01-02 17:48:08.000000000 +0100
++++ TLP-0.4.1/tlp.rules 2014-01-27 11:16:06.231719068 +0100
+@@ -4,7 +4,7 @@
+ # This software is licensed under the GPL v2 or later.
+
+ # handle change of power source ac/bat
+-ACTION=="change", SUBSYSTEM=="power_supply", ATTR{type}=="Mains", RUN+="/usr/sbin/tlp auto"
++ACTION=="change", SUBSYSTEM=="power_supply", ATTR{type}=="Mains", RUN+="/usr/bin/tlp auto"
+
+ # handle added usb devices (exclude subdevices)
+-ACTION=="add", SUBSYSTEM=="usb", DRIVER=="usb", ENV{DEVTYPE}=="usb_device", RUN+="/lib/udev/tlp-usb-udev %p"
++ACTION=="add", SUBSYSTEM=="usb", DRIVER=="usb", ENV{DEVTYPE}=="usb_device", RUN+="/usr/lib/udev/tlp-usb-udev %p"
+diff -rupN TLP-0.4.1.orig/tlp.service TLP-0.4.1/tlp.service
+--- TLP-0.4.1.orig/tlp.service 2014-01-02 17:48:08.000000000 +0100
++++ TLP-0.4.1/tlp.service 2014-01-27 11:13:34.737140892 +0100
+@@ -11,8 +11,8 @@ Before=shutdown.target
+ [Service]
+ Type=oneshot
+ RemainAfterExit=yes
+-ExecStart=/usr/sbin/tlp init start
+-ExecStop=/usr/sbin/tlp init stop
++ExecStart=/usr/bin/tlp init start
++ExecStop=/usr/bin/tlp init stop
+
+ [Install]
+ WantedBy=multi-user.target
+diff -rupN TLP-0.4.1.orig/tlp-sleep.service TLP-0.4.1/tlp-sleep.service
+--- TLP-0.4.1.orig/tlp-sleep.service 2014-01-02 17:48:08.000000000 +0100
++++ TLP-0.4.1/tlp-sleep.service 2014-01-27 11:16:53.463600400 +0100
+@@ -11,8 +11,8 @@ StopWhenUnneeded=yes
+ [Service]
+ Type=oneshot
+ RemainAfterExit=yes
+-ExecStart=/usr/sbin/tlp suspend
+-ExecStop=/usr/sbin/tlp resume
++ExecStart=/usr/bin/tlp suspend
++ExecStop=/usr/bin/tlp resume
+
+ [Install]
+ WantedBy=sleep.target
More information about the arch-commits
mailing list