tlp: update to 1.2.2.
- Install elogind files to appropriate location - Disable installing systemd service files - Remove systemd service man pages Closes #11872. Signed-off-by: Enno Boland <gottox@voidlinux.org>
This commit is contained in:
parent
6fbb65f031
commit
c7b98ae13c
@ -1,6 +1,6 @@
|
|||||||
# Template file for 'tlp'
|
# Template file for 'tlp'
|
||||||
pkgname=tlp
|
pkgname=tlp
|
||||||
version=1.2.1
|
version=1.2.2
|
||||||
revision=1
|
revision=1
|
||||||
archs=noarch
|
archs=noarch
|
||||||
wrksrc="TLP-${version}"
|
wrksrc="TLP-${version}"
|
||||||
@ -11,18 +11,26 @@ license="GPL-2.0-or-later"
|
|||||||
homepage="https://linrunner.de/en/tlp/docs/tlp-linux-advanced-power-management.html"
|
homepage="https://linrunner.de/en/tlp/docs/tlp-linux-advanced-power-management.html"
|
||||||
#changelog="https://github.com/linrunner/TLP/blob/master/changelog"
|
#changelog="https://github.com/linrunner/TLP/blob/master/changelog"
|
||||||
distfiles="https://github.com/linrunner/TLP/archive/${version}.tar.gz"
|
distfiles="https://github.com/linrunner/TLP/archive/${version}.tar.gz"
|
||||||
checksum=0fa43c2be7d42223646c6271eb823174076a92c9cea5740c24b5e9e8404c9765
|
checksum=5c28bdda51661160f75b10634fa0fffad96e83204a7c704dad0095de6fee3315
|
||||||
|
|
||||||
conflicts="laptop-mode>=0"
|
conflicts="laptop-mode>=0"
|
||||||
conf_files="/etc/default/tlp"
|
conf_files="/etc/default/tlp"
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
make DESTDIR=${DESTDIR} TLP_SBIN=/usr/bin TLP_ULIB=/usr/lib/udev TLP_SHCPL=/usr/share/bash-completion/completions install-tlp
|
make DESTDIR=${DESTDIR} \
|
||||||
|
TLP_SBIN=/usr/bin \
|
||||||
|
TLP_ULIB=/usr/lib/udev \
|
||||||
|
TLP_SHCPL=/usr/share/bash-completion/completions \
|
||||||
|
TLP_ELOD=/usr/lib/elogind/system-sleep \
|
||||||
|
TLP_WITH_SYSTEMD=0 \
|
||||||
|
install-tlp
|
||||||
|
|
||||||
vmkdir usr/share/man/man1
|
vmkdir usr/share/man/man1
|
||||||
install -m644 man/*.1 ${DESTDIR}/usr/share/man/man1
|
install -m644 man/*.1 ${DESTDIR}/usr/share/man/man1
|
||||||
vmkdir usr/share/man/man8
|
vmkdir usr/share/man/man8
|
||||||
install -m644 man/*.8 ${DESTDIR}/usr/share/man/man8
|
install -m644 man/*.8 ${DESTDIR}/usr/share/man/man8
|
||||||
|
rm -f ${DESTDIR}/usr/share/man/man8/*.service.8
|
||||||
|
|
||||||
vsv tlp
|
vsv tlp
|
||||||
|
|
||||||
rm -rf ${DESTDIR}/etc/init.d
|
rm -rf ${DESTDIR}/etc/init.d
|
||||||
|
Loading…
x
Reference in New Issue
Block a user