1 # Template file for 'tlp'
5 wrksrc="TLP-${version}"
6 depends="hdparm bash iw util-linux ethtool"
7 conf_files="/etc/default/tlp"
8 conflicts="laptop-mode>=0"
10 short_desc="Advanced power management tool for Linux"
11 maintainer="Juan RP <xtraeme@voidlinux.eu>"
13 homepage="http://linrunner.de/en/tlp/docs/tlp-linux-advanced-power-management.html"
14 #changelog="https://github.com/linrunner/TLP/blob/master/changelog"
15 distfiles="https://github.com/linrunner/TLP/archive/${version}.tar.gz"
16 checksum=76e1a091eed1055f7af75f49621be51ed41b1e8f872eeb9506c0749060fd1019
19 make DESTDIR=${DESTDIR} TLP_SBIN=/usr/bin TLP_ULIB=/usr/lib/udev TLP_SHCPL=/usr/share/bash-completion/completions install-tlp
21 vmkdir usr/share/man/man1
22 install -m644 man/*.1 ${DESTDIR}/usr/share/man/man1
23 vmkdir usr/share/man/man8
24 install -m644 man/*.8 ${DESTDIR}/usr/share/man/man8
27 rm -rf ${DESTDIR}/etc/init.d