updated on Tue Jan 10 00:10:07 UTC 2012
[aur-mirror.git] / cwiid / PKGBUILD
blob27d5ecf3ef75b22de06f6ed22df8396b4b1cba43
1 # Contributor: Birger Moellering <bmoellering@googlemail.com>
2 # Maintainer: Wieland Hoffmann <the_mineo@web.de>
4 pkgname=cwiid
5 pkgver=0.6.00
6 pkgrel=8
7 pkgdesc="Linux Nintendo Wiimote interface"
8 arch=(i686 x86_64)
9 url="http://abstrakraft.org/cwiid/wiki" 
10 depends=('bluez>=4' 'gtk2' 'python2')
11 makedepends=('flex' 'bison')
12 license=("GPL2")
13 install=cwiid.install
14 source=(http://abstrakraft.org/cwiid/downloads/$pkgname-$pkgver.tgz
15         http://abstrakraft.org/cwiid/raw-attachment/ticket/70/bluez_4_api_changes.patch)
17 build() {
18   cd $srcdir/$pkgname-$pkgver
19   patch -p1 < ../bluez_4_api_changes.patch libcwiid/bluetooth.c
20   ./configure --prefix=/usr --sysconfdir=/etc --disable-ldconfig --with-python=python2
21   LDFLAGS='-lbluetooth -lrt -pthread'  make || return 1
22   make DESTDIR=$pkgdir install
25 md5sums=('8d574afdeedc5e5309c87a72d744316a'
26          '19b288723d1f2b97a3e5288ab9de3313')