1 # Contributor: Timur Antipin < kosmocap (at) gmail.com >
6 pkgdesc='Cross-platform Qt-based jabber client'
8 url="http://code.google.com/p/vacuum-im/"
13 depends=('qt>=4.5.2' 'openssl' 'libidn' 'zlib' 'libxss' 'qtwebkit')
14 optdepends=('libminizip: using system library')
15 makedepends=('subversion' 'cmake')
18 _svntrunk='http://vacuum-im.googlecode.com/svn/trunk/'
19 _svnmod='vacuum-im-svn'
24 if [ -d $_svnmod/.svn ]; then
25 (cd $_svnmod && svn up -r $pkgver)
27 svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
29 msg "SVN checkout done or server timeout"
31 mkdir -p "${_svnmod}-build" || return 1
32 cd "${_svnmod}-build" || return 1
34 cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release "../${_svnmod}" || return 1
36 msg "Starting make..."
42 cd "${srcdir}/${_svnmod}-build"
44 msg "Installing to package directory..."
45 make DESTDIR="${pkgdir}" install || return 1
47 rm -rf "${srcdir}/${_svnmod}-build"