1 # Maintainer: George Nassar <george@providentdata.com>
2 # Contributor: Jelle van der Waa <jelle vdwaa nl>
3 # Contributor: Stéphane Gaudreault <stephane@archlinux.org>
4 # Contributor: Dale Blount <dale@archlinux.org>
9 pkgdesc="Share a single mouse and keyboard between multiple computers"
10 url="http://synergy-foss.org"
11 arch=('i686' 'x86_64')
12 depends=('gcc-libs' 'libxtst' 'libxinerama' 'bash')
16 makedepends=('libxt' 'cmake' 'python2') # used by configure to test for libx11...
17 backup=('etc/synergy.conf')
18 source=("http://synergy.googlecode.com/files/synergy-$pkgver-Source.tar.gz" http://synergy-foss.org/tracker/attachments/download/2936/platform-libs.patch synergys.rc)
19 md5sums=('668e042b4d8a4165cb3b68adef0b8dc6'
20 '45566c8b91a4f2f1e1087ae05f004413'
21 '8f8c01add9bf6e3ae9f37a36ca6345b6')
24 cd "${srcdir}/synergy-${pkgver}-Source"
25 patch -p0 < ../platform-libs.patch
26 sed -i -e 's/^python /python2 /g' ./hm.sh
32 cd "${srcdir}/synergy-${pkgver}-Source"
35 install -d "$pkgdir/usr/bin/"
36 install -Dm755 bin/synergyc "$pkgdir/usr/bin/"
37 install -Dm755 bin/synergys "$pkgdir/usr/bin/"
39 # install rc.d script and config
40 install -d "${pkgdir}/etc/rc.d"
41 install -Dm644 doc/synergy.conf.example-basic "${pkgdir}/etc/synergy.conf" # true
42 install -Dm755 "$srcdir/synergys.rc" "${pkgdir}/etc/rc.d/synergys" # true