1 # Contributor: Birger Moellering <bmoellering@googlemail.com>
2 # Maintainer: Wieland Hoffmann <the_mineo@web.de>
7 pkgdesc="Linux Nintendo Wiimote interface"
9 url="http://abstrakraft.org/cwiid/wiki"
10 depends=('bluez>=4' 'gtk2' 'python2')
11 makedepends=('flex' 'bison')
14 source=(http://abstrakraft.org/cwiid/downloads/$pkgname-$pkgver.tgz
15 http://abstrakraft.org/cwiid/raw-attachment/ticket/70/bluez_4_api_changes.patch)
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')