1 # $Id: PKGBUILD 58301 2011-11-10 17:57:26Z spupykin $
2 # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
3 # Contributor: Gerhard Brauer <gerhard.brauer@web.de>
4 # Contributor: Milosz Piglas <archeofuture@gmail.com>
9 pkgdesc="ACPI client - replacement for apm tool"
10 url="http://sourceforge.net/projects/acpitool/"
11 arch=('i686' 'x86_64')
14 source=(http://downloads.sourceforge.net/sourceforge/acpitool/acpitool-$pkgver.tar.bz2
17 md5sums=('9e4ec55201be0be71ffbc56d38b42b57'
18 'eb149edb32be6cdf20a7d16beb3e9f70'
19 '969fc4929cc215756db27168646c2b7a')
22 cd "$srcdir/$pkgname-$pkgver"
23 patch -p1 <$srcdir/linux-3.0.patch
24 patch -p1 <$srcdir/sysfs-battery.patch
25 ./configure --prefix=/usr
30 cd "$srcdir/$pkgname-$pkgver"
31 make prefix="$pkgdir/usr" install