updated on Thu Jan 19 20:01:47 UTC 2012
[aur-mirror.git] / synergy-plus-svn / PKGBUILD
blobc9b1a56bd76887c06a5bf859bc5790f96f6b7f94
1 # Contributor: Purch <purcher@gmail.com>
2 # Contributor: Daniel J Griffiths <ghost1227@archlinux.us>
4 pkgname=synergy-plus-svn
5 pkgver=20100504
6 pkgrel=1
7 pkgdesc="Share a mouse and keyboard between several computers."
8 arch=('i686' 'x86_64')
9 license=('GPL')
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')
14 conflicts=('synergy')
15 provides=('synergy')
16 replaces=('synergy-plus-hg')
17 _svnurl="http://synergy-plus.googlecode.com/svn/trunk/"
18 _svnmod="synergy-plus-read-only"
21 build() {
22 cd ${srcdir}
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
31 make || return 1
32 make DESTDIR=${pkgdir} install
34 mkdir ${pkgdir}/etc
35 install -m644 conf/synergy.conf ${pkgdir}/etc/synergy.conf
36