1 # Maintainer: Matthias Maennich <arch@maennich.net>
6 pkgdesc="Share your mouse and keyboard between several computers"
8 url="http://code.google.com/p/synergy-plus"
10 depends=('libxtst' 'libsm' 'libxinerama' 'qt')
11 makedepends=('cmake' 'subversion')
12 source=("synergys.rc" "qsynergy.desktop" "synergy-plus.png")
13 md5sums=('056e59b1d04a66820ffa4b53e5ec20bc'
14 'cc77460b8748fbba29ec1dd6a68712b7'
15 '3b5abceff557ba538e5e8c6676a875bd')
16 provides=('synergy','qsynergy')
17 replaces=('synergy','qsynergy')
18 conflicts=('synergy','qsynergy')
19 backup=('etc/synergy.conf')
21 _svnmod=$pkgname-$pkgver
22 _svntag="http://$pkgname.googlecode.com/svn/tags/$pkgver"
28 msg "Connecting to $_svntag ..."
30 svn co $_svntag $_svnmod --depth immediates
34 cd cmake && svn update --set-depth infinity && cd ..
35 cd cmd && svn update --set-depth infinity && cd ..
36 cd examples && svn update --set-depth infinity && cd ..
37 cd gui && svn update --set-depth immediates && cd ..
38 cd gui/res && svn update --set-depth infinity && cd ../..
39 cd gui/src && svn update --set-depth infinity && cd ../..
40 cd lib && svn update --set-depth infinity && cd ..
42 msg "SVN checkout done or server timeout"
44 cmake . -DCMAKE_INSTALL_PREFIX=/usr
56 make DESTDIR=$pkgdir install
59 install -m755 -d $pkgdir/etc
60 install -m755 -d $pkgdir/etc/rc.d
61 install -m644 $srcdir/$_svnmod/examples/synergy.conf $pkgdir/etc/
62 install -Dm755 $srcdir/synergys.rc $pkgdir/etc/rc.d/synergy
65 install -m755 -d $pkgdir/usr/bin
66 install -m755 -d $pkgdir/usr/share/applications
67 install -m755 -d $pkgdir/usr/share/pixmaps
69 install -m755 $srcdir/$_svnmod/gui/qsynergy $pkgdir/usr/bin/
70 install -m755 $srcdir/qsynergy.desktop $pkgdir/usr/share/applications/
71 install -m755 $srcdir/synergy-plus.png $pkgdir/usr/share/pixmaps/