python-texttable: update to 1.3.1
[void-packages.git] / srcpkgs / tlp / template
blobbc5ea52b794d5119a7316645aa53699bb31912c7
1 # Template file for 'tlp'
2 pkgname=tlp
3 version=1.1
4 revision=1
5 wrksrc="TLP-${version}"
6 depends="hdparm bash iw util-linux ethtool"
7 conf_files="/etc/default/tlp"
8 conflicts="laptop-mode>=0"
9 noarch="yes"
10 short_desc="Advanced power management tool for Linux"
11 maintainer="Juan RP <xtraeme@voidlinux.eu>"
12 license="GPL-2"
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
18 do_install() {
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
25         vsv tlp
27         rm -rf ${DESTDIR}/etc/init.d