blob: 90aaf9dc25e0d3dab425c1ce93f326725308c9c5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
# $Id: PKGBUILD 99065 2013-10-23 22:02:55Z speps $
# Maintainer : speps <speps at aur dot archlinux dot org>
# Contributor: Ray Rashif <schiv@archlinux.org>
# Contributor: Wieland Hoffmann <the_mineo@web.de>
# Contributor: Birger Moellering <bmoellering@googlemail.com>
# 2012/03/21 : <dropped from community; broken + see bug #28344>
# 2012/06/05 : <added into community as supercollider dependency>
pkgname=cwiid
pkgver=0.6.00+svn201
pkgrel=1
pkgdesc="Linux Nintendo Wiimote interface"
arch=('i686' 'x86_64' 'mips64el')
url="http://abstrakraft.org/cwiid"
depends=('bluez-libs' 'gtk2' 'python2')
license=('GPL')
install="$pkgname.install"
source=("https://github.com/abstrakraft/cwiid/archive/svn_history.tar.gz")
md5sums=('e1bc290504dc53f02581866eed0b85c3')
prepare() {
cd $pkgname-svn_history
sed -i '/ldconfig/s/WITH/ENABLE/' configure.ac
aclocal
autoconf -f
}
build() {
cd $pkgname-svn_history
./configure --prefix=/usr \
--sysconfdir=/etc \
--with-python=python2 \
--enable-ldconfig=no
LDFLAGS+="$(pkg-config --libs bluez) -lpthread" \
make
}
package() {
cd $pkgname-svn_history
make DESTDIR="$pkgdir" install
# wminput README
install -Dm644 wminput/README \
"$pkgdir/usr/share/doc/$pkgname/wminput/README"
}
# vim:set ts=2 sw=2 et:
|