1 # Maintainer: platnicat mewr <platnicat@gmail.com>
2 # Contributor: Edward Tjörnhammar <xhemi@cube2.se>
7 pkgdesc="Associate PS3 Sixaxis controller to system bluetoothd via USB"
9 url="http://www.pabr.org/sixlinux/"
11 depends=('libusb' 'libx11' 'glibc')
12 source=(http://www.pabr.org/sixlinux/sixpair.c \
13 http://www.pabr.org/sixlinux/sixhidtest.c \
14 http://www.pabr.org/sixlinux/xsixhidtest.c)
18 gcc -o $startdir/src/sixpair $startdir/src/sixpair.c -lusb || return 1
19 gcc -o $startdir/src/sixhidtest $startdir/src/sixhidtest.c || return 1
20 gcc -o $startdir/src/xsixhidtest $startdir/src/xsixhidtest.c -lX11 -lm || return 1
21 mkdir -p $startdir/pkg/usr/bin || return 1
22 install -m0755 $startdir/src/sixpair $startdir/pkg/usr/bin/sixpair || return 1
23 install -m0755 $startdir/src/sixhidtest $startdir/pkg/usr/bin/sixhidtest || return 1
24 install -m0755 $startdir/src/xsixhidtest $startdir/pkg/usr/bin/xsixhidtest || return 1
26 md5sums=('81e05551c7d6cea13bab78f609d6e0bd'
27 '8298412801178255d3bf84f4ead0306d'
28 '6fc492ddf084827b5876871dfa5fa3a6')