desktop/acpi/PKGBUILD
2010-11-15 10:01:45 +00:00

27 lines
698 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.5
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')
source=(http://downloads.sourceforge.net/acpiclient/$pkgname-$pkgver.tar.gz)
license=('GPL2')
md5sums=('ccfee3d53eba9c9947adafbcc1387611')
build() {
cd $srcdir/$pkgname-$pkgver
./configure --prefix=/usr || return 1
make || return 1
make DESTDIR=$pkgdir install || return 1
}