tlp: update to 0.8.
This commit is contained in:
parent
bd9c2e14fc
commit
1512a84ef6
1 changed files with 4 additions and 7 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'tlp'
|
# Template file for 'tlp'
|
||||||
pkgname=tlp
|
pkgname=tlp
|
||||||
version=0.7
|
version=0.8
|
||||||
revision=3
|
revision=1
|
||||||
wrksrc="TLP-${version}"
|
wrksrc="TLP-${version}"
|
||||||
depends="hdparm bash iw rfkill ethtool"
|
depends="hdparm bash iw rfkill ethtool"
|
||||||
conf_files="/etc/default/tlp"
|
conf_files="/etc/default/tlp"
|
||||||
|
@ -12,10 +12,10 @@ maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
||||||
license="GPL-2"
|
license="GPL-2"
|
||||||
homepage="http://linrunner.de/en/tlp/docs/tlp-linux-advanced-power-management.html"
|
homepage="http://linrunner.de/en/tlp/docs/tlp-linux-advanced-power-management.html"
|
||||||
distfiles="https://github.com/linrunner/TLP/archive/${version}.tar.gz"
|
distfiles="https://github.com/linrunner/TLP/archive/${version}.tar.gz"
|
||||||
checksum=bd313f478f897a658f2ca7db9665b8ce6796431b952f7df9aa80e59072cea4ea
|
checksum=d5c0423fde7247cc519001caebd60e538ff5ef2be9456d2049303eef4da1aae3
|
||||||
|
|
||||||
do_install() {
|
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
|
vmkdir usr/share/man/man1
|
||||||
install -m644 man/*.1 ${DESTDIR}/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
|
install -m644 man/*.8 ${DESTDIR}/usr/share/man/man8
|
||||||
vsv tlp
|
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
|
rm -rf ${DESTDIR}/etc/init.d
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue