#!/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 }