summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMaxime Gauduin2019-05-11 16:31:16 +0200
committerMaxime Gauduin2019-05-11 16:31:16 +0200
commitd3f37a9b78587307bb16e40acfd4cf5150817a84 (patch)
tree490f77dc2922dce73568efe2c661a9bca0b0145b
parent77688b3269931a87dde91e16fc57090cf1255326 (diff)
downloadaur-d3f37a9b78587307bb16e40acfd4cf5150817a84.tar.gz
update tlp-git
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD12
2 files changed, 11 insertions, 7 deletions
diff --git a/.SRCINFO b/.SRCINFO
index a33917826db..8a28c9df54a 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
# Generated by mksrcinfo v8
-# Wed Apr 17 11:55:03 UTC 2019
+# Sat May 11 14:31:16 UTC 2019
pkgbase = tlp-git
- pkgver = 1.2.1.r22.5d2abde
+ pkgver = 1.2.2.r4.3c7b9f3
pkgrel = 1
url = https://linrunner.de/en/tlp/tlp.html
arch = any
@@ -18,10 +18,12 @@ pkgname = tlp-git
depends = rfkill
depends = usbutils
depends = util-linux
+ optdepends = acpi_call: ThinkPad battery functions, Sandy Bridge and newer
optdepends = bash-completion: Bash completion
optdepends = ethtool: Disable Wake On Lan
optdepends = lsb-release: Display LSB release version in tlp-stat
optdepends = smartmontools: Display S.M.A.R.T. data in tlp-stat
+ optdepends = tp_smapi: ThinkPad battery functions
optdepends = x86_energy_perf_policy: Set energy versus performance policy on x86 processors
provides = tlp
conflicts = laptop-mode-tools
diff --git a/PKGBUILD b/PKGBUILD
index 462e4933acf..fdafb3dffcb 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=(
tlp-git
tlp-rdw-git
)
-pkgver=1.2.1.r22.5d2abde
+pkgver=1.2.2.r4.3c7b9f3
pkgrel=1
arch=(any)
url=https://linrunner.de/en/tlp/tlp.html
@@ -32,10 +32,12 @@ package_tlp-git() {
util-linux
)
optdepends=(
+ 'acpi_call: ThinkPad battery functions, Sandy Bridge and newer'
'bash-completion: Bash completion'
'ethtool: Disable Wake On Lan'
'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'
'x86_energy_perf_policy: Set energy versus performance policy on x86 processors'
)
provides=(tlp)
@@ -46,14 +48,14 @@ package_tlp-git() {
)
backup=(etc/default/tlp)
+ export TLP_NO_INIT=1
export TLP_SBIN=/usr/bin
- export TLP_ULIB=/usr/lib/udev
export TLP_SYSD=/usr/lib/systemd/system
- export TLP_NO_INIT=1
- export TLP_WITH_SYSTEMD=1
+ 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
+ make DESTDIR="${pkgdir}" -C TLP install-tlp install-man-tlp
}
package_tlp-rdw-git() {