summaryrefslogtreecommitdiff
path: root/extra/acpi/PKGBUILD
blob: 0014dd64dbb40c15605f40beed38f3cd1332c4d7 (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
25
# $Id: PKGBUILD 107523 2011-01-26 15:33:37Z thomas $
# Contributor: Judd Vinet <jvinet@zeroflux.org>
# Maintainer: Thayer Williams <thayer@archlinux.org>

pkgname=acpi
pkgver=1.5
pkgrel=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=('57ff91cb5bef9e6d158c5b231a553a3a77c9ccfd0e4fad42958d1e61241060dd')

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

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