desktop/acpi/PKGBUILD
2012-09-07 07:02:07 +00:00

32 lines
750 B
Bash

#
# Apps Packages for Chakra, part of chakra-project.org
#
# maintainer Andrei Nistor <coder[dot]tux[at]chakra-project[dot]org>
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=acpi
pkgver=1.6
pkgrel=1
pkgdesc="Linux ACPI client providing battery, AC power, and thermal readings"
arch=('i686' 'x86_64')
url="http://sourceforge.net/projects/acpiclient"
depends=('glibc')
license=('GPL2')
categories=('utils')
source=("http://downloads.sourceforge.net/acpiclient/$pkgname-$pkgver.tar.gz")
md5sums=('68d0104a7825c904e3f45de8682cee19')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
./configure --prefix=/usr
make
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" install
}