updated on Thu Jan 19 00:16:31 UTC 2012
[aur-mirror.git] / wmacpi / PKGBUILD
blobc290477ee56c738ce95143068a0124edca0442ce
2 # Maintainer: Dennis Gosnell <cdep.illabout@gmail.com>
3 pkgname=wmacpi
4 pkgver=2.2rc5
5 pkgrel=1
6 pkgdesc="Battery monitor dockapp for Window Maker that doesn't depend on HAL"
7 arch=('i686' 'x86_64')
8 url="http://himi.org/wmacpi/"
9 license=('GPL')
10 depends=(libdockapp)
11 source=(http://himi.org/wmacpi/download/$pkgname-$pkgver.tar.bz2)
12 md5sums=('9e7a791818cd9646c31e2dbff418ea74')
15 build() {
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
21         make
24 package() {
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/"