summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Bermond2020-01-11 15:47:39 +0000
committerDaniel Bermond2020-01-11 15:47:39 +0000
commit820ac8d7f539db0f6bd1e542605879a2f881f881 (patch)
tree23c857eb10c5a4d968b5a9525e267f69dd2d41a2
parent0166ab97d553c4a48360d3e1987c8421cb053d9c (diff)
downloadaur-820ac8d7f539db0f6bd1e542605879a2f881f881.tar.gz
Updated to version 1.73.1
-rw-r--r--.SRCINFO16
-rw-r--r--PKGBUILD19
2 files changed, 24 insertions, 11 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 527763452acf..3489b9534437 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,10 +1,12 @@
pkgbase = laptop-mode-tools
pkgdesc = Power Saving tool for Linux
- pkgver = 1.72.2
- pkgrel = 4
+ pkgver = 1.73.1
+ pkgrel = 1
url = https://github.com/rickysarraf/laptop-mode-tools/
arch = any
license = GPL
+ makedepends = procps-ng
+ depends = sh
optdepends = acpid: ACPI support
optdepends = bluez-utils: Bluetooth support
optdepends = hdparm: hard disk power management
@@ -13,6 +15,7 @@ pkgbase = laptop-mode-tools
optdepends = wireless_tools: Wi-Fi support
optdepends = xorg-xset: DPMS standby support
optdepends = hal: HAL polling support
+ optdepends = python: LMT GUI
optdepends = python-pyqt5: LMT GUI
backup = etc/laptop-mode/conf.d/ac97-powersave.conf
backup = etc/laptop-mode/conf.d/auto-hibernate.conf
@@ -20,29 +23,34 @@ pkgbase = laptop-mode-tools
backup = etc/laptop-mode/conf.d/bluetooth.conf
backup = etc/laptop-mode/conf.d/configuration-file-control.conf
backup = etc/laptop-mode/conf.d/cpufreq.conf
+ backup = etc/laptop-mode/conf.d/cpuhotplug.conf
backup = etc/laptop-mode/conf.d/dpms-standby.conf
backup = etc/laptop-mode/conf.d/eee-superhe.conf
backup = etc/laptop-mode/conf.d/ethernet.conf
backup = etc/laptop-mode/conf.d/exec-commands.conf
backup = etc/laptop-mode/conf.d/hal-polling.conf
+ backup = etc/laptop-mode/conf.d/intel_pstate.conf
backup = etc/laptop-mode/conf.d/intel-hda-powersave.conf
backup = etc/laptop-mode/conf.d/intel-sata-powermgmt.conf
+ backup = etc/laptop-mode/conf.d/kbd-backlight.conf
backup = etc/laptop-mode/conf.d/lcd-brightness.conf
backup = etc/laptop-mode/conf.d/nmi-watchdog.conf
backup = etc/laptop-mode/conf.d/pcie-aspm.conf
+ backup = etc/laptop-mode/conf.d/radeon-dpm.conf
backup = etc/laptop-mode/conf.d/runtime-pm.conf
backup = etc/laptop-mode/conf.d/sched-mc-power-savings.conf
backup = etc/laptop-mode/conf.d/sched-smt-power-savings.conf
backup = etc/laptop-mode/conf.d/start-stop-programs.conf
backup = etc/laptop-mode/conf.d/terminal-blanking.conf
+ backup = etc/laptop-mode/conf.d/vgaswitcheroo.conf
backup = etc/laptop-mode/conf.d/video-out.conf
backup = etc/laptop-mode/conf.d/wireless-ipw-power.conf
backup = etc/laptop-mode/conf.d/wireless-iwl-power.conf
backup = etc/laptop-mode/conf.d/wireless-power.conf
backup = etc/laptop-mode/laptop-mode.conf
backup = etc/laptop-mode/lm-profiler.conf
- source = laptop-mode-tools-1.72.2.tar.gz::https://github.com/rickysarraf/laptop-mode-tools/archive/1.72.2.tar.gz
- sha256sums = 665be3b263447a2439a242f6bdf2d12936b0311f18e36da189b3c9500b74559a
+ source = laptop-mode-tools-1.73.1.tar.gz::https://github.com/rickysarraf/laptop-mode-tools/archive/1.73.1.tar.gz
+ sha256sums = 75d882f93c81691f1b342740441ec1a1d0188eb55b400a1d795ffda4f533e65d
pkgname = laptop-mode-tools
diff --git a/PKGBUILD b/PKGBUILD
index d3f3d79cd4ed..afe4fcdf6eed 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -6,12 +6,13 @@
# Contributor: Eric BĂ©langer <eric@archlinux.org>
pkgname=laptop-mode-tools
-pkgver=1.72.2
-pkgrel=4
+pkgver=1.73.1
+pkgrel=1
pkgdesc='Power Saving tool for Linux'
arch=('any')
url='https://github.com/rickysarraf/laptop-mode-tools/'
license=('GPL')
+depends=('sh')
optdepends=('acpid: ACPI support'
'bluez-utils: Bluetooth support'
'hdparm: hard disk power management'
@@ -20,28 +21,35 @@ optdepends=('acpid: ACPI support'
'wireless_tools: Wi-Fi support'
'xorg-xset: DPMS standby support'
'hal: HAL polling support' # AUR
+ 'python: LMT GUI'
'python-pyqt5: LMT GUI')
+makedepends=('procps-ng')
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/cpuhotplug.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_pstate.conf'
'etc/laptop-mode/conf.d/intel-hda-powersave.conf'
'etc/laptop-mode/conf.d/intel-sata-powermgmt.conf'
+ 'etc/laptop-mode/conf.d/kbd-backlight.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/radeon-dpm.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/vgaswitcheroo.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'
@@ -49,7 +57,7 @@ backup=('etc/laptop-mode/conf.d/ac97-powersave.conf'
'etc/laptop-mode/laptop-mode.conf'
'etc/laptop-mode/lm-profiler.conf')
source=("${pkgname}-${pkgver}.tar.gz"::"https://github.com/rickysarraf/laptop-mode-tools/archive/${pkgver}.tar.gz")
-sha256sums=('665be3b263447a2439a242f6bdf2d12936b0311f18e36da189b3c9500b74559a')
+sha256sums=('75d882f93c81691f1b342740441ec1a1d0188eb55b400a1d795ffda4f533e65d')
package() {
cd "${pkgname}-${pkgver}"
@@ -60,8 +68,5 @@ package() {
mv "${pkgdir}/usr/sbin" "${pkgdir}/usr/bin"
find "$pkgdir" -type f -exec sed -i 's|sbin/laptop_mode|bin/laptop_mode|g' {} +
- install -D -m755 gui/LMT.py "${pkgdir}/usr/bin/lmt-gui"
-
- # fix path of gui on config script
- sed -i 's|/usr/share/laptop-mode-tools/lmt\.py$|/usr/bin/lmt-gui|' "${pkgdir}/usr/bin/lmt-config-gui"
+ ln -s ../share/laptop-mode-tools/lmt.py "${pkgdir}/usr/bin/lmt-gui"
}