2 # Maintainer: Dennis Gosnell <cdep.illabout@gmail.com>
6 pkgdesc="Battery monitor dockapp for Window Maker that doesn't depend on HAL"
8 url="http://himi.org/wmacpi/"
11 source=(http://himi.org/wmacpi/download/$pkgname-$pkgver.tar.bz2)
12 md5sums=('9e7a791818cd9646c31e2dbff418ea74')
16 cd "$srcdir/$pkgname-$pkgver"
18 # make sure we don't build the command line `acpi` tool
19 sed -i 's/^BUILD_CLI = 1$/#BUILD_CLI = 1/' Makefile
25 cd "$srcdir/$pkgname-$pkgver"
27 # make sure we install the man pages in the right place
28 sed -i 's|man/man1|share/man/man1|' Makefile
30 make install PREFIX="$pkgdir/usr/"