1 # Contributor: Purch <purcher@gmail.com>
2 # Contributor: Daniel J Griffiths <ghost1227@archlinux.us>
4 pkgname=synergy-plus-svn
7 pkgdesc="Share a mouse and keyboard between several computers."
10 url="http://code.google.com/p/synergy-plus"
11 makedepends=('subversion' 'cmake')
12 depends=('gcc-libs' 'libxtst' 'libsm' 'libxinerama' 'openssl')
13 backup=('etc/synergy.conf')
16 replaces=('synergy-plus-hg')
17 _svnurl="http://synergy-plus.googlecode.com/svn/trunk/"
18 _svnmod="synergy-plus-read-only"
24 msg "Connecting to googlecode.com svn server...."
25 svn checkout ${_svnurl} ${_svnmod}
26 msg "SVN checkout done or server timeout"
28 cd ${srcdir}/${_svnmod}
30 cmake -DCMAKE_INSTALL_PREFIX=/usr || return 1
32 make DESTDIR=${pkgdir} install
35 install -m644 conf/synergy.conf ${pkgdir}/etc/synergy.conf