summaryrefslogtreecommitdiff
path: root/repo/util/acpi.xibuild
blob: c09792df03daac10643405eaa988685bea1859d6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/bash

MAKEDEPS=(make)
DEPS=(glibc acpid)

PKG_VER=1.7
SOURCE=https://downloads.sourceforge.net/acpiclient/acpi-$PKG_VER.tar.gz
DESC="Client for battery, power, and thermal readings"

build () {
    ./configure --prefix=/usr
    make
}

package () {
      make -C "acpi-$PKG_VER" DESTDIR"=$PKG_DEST" install
}