tlp: update to 0.8.

This commit is contained in:
Enno Boland 2015-08-29 12:26:38 +02:00
parent bd9c2e14fc
commit 1512a84ef6

View file

@ -1,7 +1,7 @@
# Template file for 'tlp'
pkgname=tlp
version=0.7
revision=3
version=0.8
revision=1
wrksrc="TLP-${version}"
depends="hdparm bash iw rfkill ethtool"
conf_files="/etc/default/tlp"
@ -12,10 +12,10 @@ maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-2"
homepage="http://linrunner.de/en/tlp/docs/tlp-linux-advanced-power-management.html"
distfiles="https://github.com/linrunner/TLP/archive/${version}.tar.gz"
checksum=bd313f478f897a658f2ca7db9665b8ce6796431b952f7df9aa80e59072cea4ea
checksum=d5c0423fde7247cc519001caebd60e538ff5ef2be9456d2049303eef4da1aae3
do_install() {
make DESTDIR=${DESTDIR} TLP_SBIN=/usr/bin TLP_ULIB=/usr/lib/udev install-tlp
make DESTDIR=${DESTDIR} TLP_SBIN=/usr/bin TLP_ULIB=/usr/lib/udev TLP_SHCPL=/usr/share/bash-completion/completions install-tlp
vmkdir usr/share/man/man1
install -m644 man/*.1 ${DESTDIR}/usr/share/man/man1
@ -23,8 +23,5 @@ do_install() {
install -m644 man/*.8 ${DESTDIR}/usr/share/man/man8
vsv tlp
vmkdir usr/share/bash-completion/completions
mv ${DESTDIR}/etc/bash_completion.d/tlp ${DESTDIR}/usr/share/bash-completion/completions
rm -rf ${DESTDIR}/etc/init.d
}