PKGBUILDs/extra/acpi/PKGBUILD
2009-10-09 21:23:22 -05:00

22 lines
640 B
Bash

# $Id: PKGBUILD 32278 2009-03-30 00:09:20Z thayer $
# Contributor: Judd Vinet <jvinet@zeroflux.org>
# Maintainer: Thayer Williams <thayer@archlinux.org>
pkgname=acpi
pkgver=1.4
pkgrel=2
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=('ea2a285957a36bad2ec099413bd330a5')
build() {
cd $srcdir/$pkgname-$pkgver
./configure --prefix=/usr || return 1
make || return 1
make DESTDIR=$pkgdir install || return 1
}