[arch-commits] Commit in tlp/trunk (PKGBUILD tlp-arch.patch)

Maxime Gauduin alucryd at archlinux.org
Tue Feb 24 09:51:19 UTC 2015


    Date: Tuesday, February 24, 2015 @ 10:51:19
  Author: alucryd
Revision: 128168

FS#43893: tlp 0.7-2

Modified:
  tlp/trunk/PKGBUILD
  tlp/trunk/tlp-arch.patch

----------------+
 PKGBUILD       |    4 ++--
 tlp-arch.patch |   41 +++++++++++++++++++++++++++++++----------
 2 files changed, 33 insertions(+), 12 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2015-02-24 01:22:14 UTC (rev 128167)
+++ PKGBUILD	2015-02-24 09:51:19 UTC (rev 128168)
@@ -5,7 +5,7 @@
 pkgbase=tlp
 pkgname=('tlp' 'tlp-rdw')
 pkgver=0.7
-pkgrel=1
+pkgrel=2
 arch=('any')
 url='http://linrunner.de/en/tlp/docs/tlp-linux-advanced-power-management.html'
 license=('GPL2' 'GPL3')
@@ -12,7 +12,7 @@
 source=("https://github.com/linrunner/TLP/archive/${pkgver}.tar.gz"
         'tlp-arch.patch')
 sha256sums=('bd313f478f897a658f2ca7db9665b8ce6796431b952f7df9aa80e59072cea4ea'
-            '836a07ebb222d7d696ac33d8596a9b129debb70793bb4dbb6283ce8311ea303c')
+            '833ed3348a46afee9c20119452c98d07caf050d955961beb4fdef76ff4e4a59a')
 
 prepare() {
   cd TLP-${pkgver}

Modified: tlp-arch.patch
===================================================================
--- tlp-arch.patch	2015-02-24 01:22:14 UTC (rev 128167)
+++ tlp-arch.patch	2015-02-24 09:51:19 UTC (rev 128168)
@@ -1,6 +1,27 @@
-diff -rupN tlp.orig/tlp.rules tlp/tlp.rules
---- tlp.orig/tlp.rules	2015-01-10 02:43:33.341388989 +0100
-+++ tlp/tlp.rules	2015-01-10 02:45:33.361390081 +0100
+diff -rupN TLP-0.7.orig/Makefile TLP-0.7/Makefile
+--- TLP-0.7.orig/Makefile	2015-02-24 10:41:23.600434433 +0100
++++ TLP-0.7/Makefile	2015-02-24 10:45:59.877307094 +0100
+@@ -67,7 +67,7 @@ endif
+ 	install -D -m 644 thinkpad-radiosw $(_ACPI)/events/thinkpad-radiosw
+ 	install -m 755 thinkpad-radiosw.sh $(_ACPI)/
+ ifneq ($(TLP_NO_BASHCOMP),1)
+-	install -D -m 644 tlp.bash_completion $(DESTDIR)/etc/bash_completion.d/tlp
++	install -D -m 644 tlp.bash_completion $(DESTDIR)/usr/share/bash-completion/completions/tlp
+ endif
+ 
+ install-rdw:
+@@ -102,7 +102,7 @@ uninstall-tlp:
+ 	rm -f $(_PLIB)/sleep.d/49tlp
+ 	rm $(_ACPI)/events/thinkpad-radiosw
+ 	rm $(_ACPI)/thinkpad-radiosw.sh
+-	rm -f $(DESTDIR)/etc/bash_completion.d/tlp
++	rm -f $(DESTDIR)/usr/share/bash-completion/completions/tlp
+ 
+ uninstall-rdw:
+ 	# Package tlp-rdw
+diff -rupN TLP-0.7.orig/tlp.rules TLP-0.7/tlp.rules
+--- TLP-0.7.orig/tlp.rules	2015-02-24 10:41:23.600434433 +0100
++++ TLP-0.7/tlp.rules	2015-02-24 10:41:35.026696729 +0100
 @@ -4,7 +4,7 @@
  # This software is licensed under the GPL v2 or later.
  
@@ -11,10 +32,10 @@
  # handle added usb devices (exclude subdevices via DRIVER=="USB")
 -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.orig/tlp.service tlp/tlp.service
---- tlp.orig/tlp.service	2015-01-10 02:43:33.341388989 +0100
-+++ tlp/tlp.service	2015-01-10 02:43:48.678055785 +0100
-@@ -11,8 +11,8 @@ Before=shutdown.target
+diff -rupN TLP-0.7.orig/tlp.service TLP-0.7/tlp.service
+--- TLP-0.7.orig/tlp.service	2015-02-24 10:41:23.600434433 +0100
++++ TLP-0.7/tlp.service	2015-02-24 10:41:35.026696729 +0100
+@@ -12,8 +12,8 @@ Before=shutdown.target
  [Service]
  Type=simple
  RemainAfterExit=yes
@@ -25,9 +46,9 @@
  
  [Install]
  WantedBy=multi-user.target
-diff -rupN tlp.orig/tlp-sleep.service tlp/tlp-sleep.service
---- tlp.orig/tlp-sleep.service	2015-01-10 02:43:33.341388989 +0100
-+++ tlp/tlp-sleep.service	2015-01-10 02:43:48.678055785 +0100
+diff -rupN TLP-0.7.orig/tlp-sleep.service TLP-0.7/tlp-sleep.service
+--- TLP-0.7.orig/tlp-sleep.service	2015-02-24 10:41:23.600434433 +0100
++++ TLP-0.7/tlp-sleep.service	2015-02-24 10:41:35.026696729 +0100
 @@ -11,8 +11,8 @@ StopWhenUnneeded=yes
  [Service]
  Type=oneshot



More information about the arch-commits mailing list