tlp: install elogind hooks to appropriate location

On voidlinux, elogind looks for the hooks in /usr/libexec/elogind rather
than /usr/lib/elogind.
This commit is contained in:
Peter Bui 2020-12-15 11:07:16 -05:00 committed by Đoàn Trần Công Danh
parent 5a4a19e0ef
commit 44cd0b996c

View file

@ -1,7 +1,7 @@
# Template file for 'tlp'
pkgname=tlp
version=1.3.1
revision=2
revision=3
wrksrc="TLP-${version}"
depends="hdparm bash iw util-linux ethtool perl"
short_desc="Advanced power management tool for Linux"
@ -20,7 +20,7 @@ do_install() {
TLP_SBIN=/usr/bin \
TLP_ULIB=/usr/lib/udev \
TLP_SHCPL=/usr/share/bash-completion/completions \
TLP_ELOD=/usr/lib/elogind/system-sleep \
TLP_ELOD=/usr/libexec/elogind/system-sleep \
TLP_WITH_SYSTEMD=0 \
install