summaryrefslogtreecommitdiff
path: root/community/acpi/PKGBUILD
blob: 9ea5236c19cb4425f9c1d5bef8136ec8f62f904f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# $Id: PKGBUILD 148027 2012-01-30 03:41:28Z dan $
# Contributor: Judd Vinet <jvinet@zeroflux.org>

pkgname=acpi
pkgver=1.6
pkgrel=1.1
pkgdesc="Linux ACPI client providing battery, AC power, and thermal readings"
arch=('i686' 'x86_64' 'mips64el')
url="http://sourceforge.net/projects/acpiclient"
depends=('glibc')
source=(http://downloads.sourceforge.net/acpiclient/$pkgname-$pkgver.tar.gz)
license=('GPL2')
sha256sums=('ed61d20400c4fd3965dde9b49ab3ac74da02f8eca1a55454f7a1ac3fa1fd5c31')

build() {
  cd $srcdir/$pkgname-$pkgver
  ./configure --prefix=/usr
  make
}

package() {
  cd $srcdir/$pkgname-$pkgver
  make DESTDIR=$pkgdir install
}