[arch-commits] Commit in tlp/repos/community-any (4 files)
Maxime Gauduin
alucryd at gemini.archlinux.org
Wed Jan 19 13:45:11 UTC 2022
Date: Wednesday, January 19, 2022 @ 13:45:11
Author: alucryd
Revision: 1110486
archrelease: copy trunk to community-any
Added:
tlp/repos/community-any/PKGBUILD
(from rev 1110485, tlp/trunk/PKGBUILD)
tlp/repos/community-any/tlp.install
(from rev 1110485, tlp/trunk/tlp.install)
Deleted:
tlp/repos/community-any/PKGBUILD
tlp/repos/community-any/tlp.install
-------------+
PKGBUILD | 143 ++++++++++++++++++++++++++++------------------------------
tlp.install | 18 +++----
2 files changed, 80 insertions(+), 81 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-01-19 13:45:04 UTC (rev 1110485)
+++ PKGBUILD 2022-01-19 13:45:11 UTC (rev 1110486)
@@ -1,72 +0,0 @@
-# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
-# Contributor: Marc Schulte <bomba at nerdstube.de>
-
-pkgbase=tlp
-pkgname=(
- tlp
- tlp-rdw
-)
-pkgver=1.5.0
-pkgrel=3
-arch=(any)
-url=https://linrunner.de/en/tlp/tlp.html
-license=(GPL2)
-makedepends=(git)
-_tag=fac9cdbbf976a65ed34397f6daac9d775c4a56f0
-source=(git+https://github.com/linrunner/TLP.git#tag=${_tag})
-sha256sums=(SKIP)
-install=tlp.install
-
-pkgver() {
- cd TLP
- git describe --tags
-}
-
-package_tlp() {
- pkgdesc='Linux Advanced Power Management'
- depends=(
- hdparm
- iw
- pciutils
- perl
- rfkill
- usbutils
- util-linux
- )
- optdepends=(
- 'acpi_call: ThinkPad battery functions, Sandy Bridge and newer'
- 'bash-completion: Bash completion'
- 'ethtool: Disable Wake On Lan'
- 'smartmontools: Display S.M.A.R.T. data in tlp-stat'
- 'tp_smapi: ThinkPad battery functions'
- 'x86_energy_perf_policy: Set energy versus performance policy on x86 processors'
- )
- conflicts=(
- laptop-mode-tools
- pm-utils
- power-profiles-daemon
- )
- backup=(etc/tlp.conf)
-
- export TLP_NO_INIT=1
- export TLP_SBIN=/usr/bin
- export TLP_SDSL=/usr/lib/systemd/system-sleep
- export TLP_SYSD=/usr/lib/systemd/system
- export TLP_ULIB=/usr/lib/udev
- export TLP_WITH_ELOGIND=0
- export TLP_WITH_SYSTEMD=1
-
- make DESTDIR="${pkgdir}" -C TLP install-tlp install-man-tlp
-}
-
-package_tlp-rdw() {
- pkgdesc='Linux Advanced Power Management - Radio Device Wizard'
- depends=(
- networkmanager
- tlp
- )
-
- make DESTDIR="${pkgdir}" -C TLP install-rdw install-man-rdw
-}
-
-# vim: ts=2 sw=2 et:
Copied: tlp/repos/community-any/PKGBUILD (from rev 1110485, tlp/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-01-19 13:45:11 UTC (rev 1110486)
@@ -0,0 +1,71 @@
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+# Contributor: Marc Schulte <bomba at nerdstube.de>
+
+pkgbase=tlp
+pkgname=(
+ tlp
+ tlp-rdw
+)
+pkgver=1.5.0
+pkgrel=4
+arch=(any)
+url=https://linrunner.de/en/tlp/tlp.html
+license=(GPL2)
+makedepends=(git)
+_tag=fac9cdbbf976a65ed34397f6daac9d775c4a56f0
+source=(git+https://github.com/linrunner/TLP.git#tag=${_tag})
+sha256sums=(SKIP)
+install=tlp.install
+
+pkgver() {
+ cd TLP
+ git describe --tags
+}
+
+package_tlp() {
+ pkgdesc='Linux Advanced Power Management'
+ depends=(
+ hdparm
+ iw
+ pciutils
+ perl
+ rfkill
+ usbutils
+ util-linux
+ )
+ optdepends=(
+ 'acpi_call: ThinkPad battery functions, Sandy Bridge and newer'
+ 'bash-completion: Bash completion'
+ 'ethtool: Disable Wake On Lan'
+ 'smartmontools: Display S.M.A.R.T. data in tlp-stat'
+ 'tp_smapi: ThinkPad battery functions'
+ )
+ conflicts=(
+ laptop-mode-tools
+ pm-utils
+ power-profiles-daemon
+ )
+ backup=(etc/tlp.conf)
+
+ export TLP_NO_INIT=1
+ export TLP_SBIN=/usr/bin
+ export TLP_SDSL=/usr/lib/systemd/system-sleep
+ export TLP_SYSD=/usr/lib/systemd/system
+ export TLP_ULIB=/usr/lib/udev
+ export TLP_WITH_ELOGIND=0
+ export TLP_WITH_SYSTEMD=1
+
+ make DESTDIR="${pkgdir}" -C TLP install-tlp install-man-tlp
+}
+
+package_tlp-rdw() {
+ pkgdesc='Linux Advanced Power Management - Radio Device Wizard'
+ depends=(
+ networkmanager
+ tlp
+ )
+
+ make DESTDIR="${pkgdir}" -C TLP install-rdw install-man-rdw
+}
+
+# vim: ts=2 sw=2 et:
Deleted: tlp.install
===================================================================
--- tlp.install 2022-01-19 13:45:04 UTC (rev 1110485)
+++ tlp.install 2022-01-19 13:45:11 UTC (rev 1110486)
@@ -1,9 +0,0 @@
-post_upgrade() {
- if [ $(vercmp $2 1.3.0) -lt 0 ]; then
- cat << EOF
-The default TLP configuration has moved from /etc/default/tlp to /etc/tlp.conf.
-The syntax is the same, you can move your old configuration or start fresh.
-EOF
- fi
-}
-
Copied: tlp/repos/community-any/tlp.install (from rev 1110485, tlp/trunk/tlp.install)
===================================================================
--- tlp.install (rev 0)
+++ tlp.install 2022-01-19 13:45:11 UTC (rev 1110486)
@@ -0,0 +1,9 @@
+post_upgrade() {
+ if [ $(vercmp $2 1.3.0) -lt 0 ]; then
+ cat << EOF
+The default TLP configuration has moved from /etc/default/tlp to /etc/tlp.conf.
+The syntax is the same, you can move your old configuration or start fresh.
+EOF
+ fi
+}
+
More information about the arch-commits
mailing list