updated on Sun Jan 15 08:01:04 UTC 2012
[aur-mirror.git] / wmbattery / PKGBUILD
blob5ff2383f668cd71457d07b9b81858607fe25b653
1 # Contributor: Henrik Tunedal <putte_xvi at tunedal dot nu>
2 pkgname=wmbattery
3 pkgver=2.40
4 pkgrel=1
5 pkgdesc="Battery monitor dockapp for Window Maker"
6 arch=(i686)
7 url="http://kitenet.net/~joey/code/wmbattery/"
8 license=('GPL')
9 depends=(libxpm hal)
10 source=("http://ftp.de.debian.org/debian/pool/main/w/wmbattery/wmbattery_$pkgver.tar.gz"
11         disable-apm.patch)
12 md5sums=('63ce6e2dba4be5585b29485e0a712ebe'
13          'c0c7e467d2da968d5ec86b3033826f48')
15 build() {
16   cd "$srcdir/wmbattery"
17   sed -Ei 's%(icons)/(wmbattery)%\2/\1%' autoconf/makeinfo.in 
18   autoconf || return 1
19   patch < ../disable-apm.patch || return 1
20   ./configure --prefix=/usr || return 1
21   make || return 1
22   make DESTDIR="$pkgdir/" install