summaryrefslogtreecommitdiff
path: root/repo/util/acpi.xibuild
blob: ebcad3784f618cab1c45e3cd2923b81cca0017fa (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 DESTDIR=$PKG_DEST install
}