summaryrefslogtreecommitdiff
path: root/repo/laptop-mode-tools/laptop-mode-tools.xibuild
blob: b07e67156ccbcc8ca4fa8e3545be5274d822b099 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/bin/sh

NAME="laptop-mode-tools"
DESC="Power Savings tool for Linux"

MAKEDEPS="make sh"
DEPS=""

PKG_VER=1.74
SOURCE="https://github.com/rickysarraf/laptop-mode-tools/releases/download/$PKG_VER/laptop-mode-tools_$PKG_VER.tar.gz"

ADDITIONAL="laptop-mode.initd"

package () {
    DESTDIR="${PKG_DEST}" \
		INIT_D="none" \
		MAN_D="/usr/share/man" \
		PMU="disabled" \
		sh ./install.sh

    install -Dm755 laptop-mode.initd /etc/init.d/laptop-mode
}