1 # Maintainer: Samuele Disegna <smldis@gmail.com>
3 pkgname=libopensync-svn
6 pkgdesc="Development version of the opensync synchronisation framework"
8 url="http://www.opensync.org"
10 depends=('sqlite3' 'glib2' 'libxml2')
11 makedepends=('subversion' 'cmake' 'libxslt')
13 conflicts=('libopensync')
14 provides=('libopensync')
19 _svntrunk="https://svn.opensync.org/trunk"
24 msg "Connecting to $_svntrunk SVN server...."
25 svn co $_svntrunk $_svnmod -r $pkgver
27 [ -d $startdir/build ] && rm -fr $startdir/build
29 cp -r $_svnmod/* $startdir/build
31 msg "SVN checkout done or server timeout"
32 msg "Starting cmake..."
34 mkdir $startdir/build/build
35 cd $startdir/build/build
36 cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release || return 1
38 make DESTDIR=$pkgdir install || return 1