1 # Contributor: h31 <h31mail@yandex.com
2 pkgname=qutim-protocol-msn-svn
5 pkgdesc="Adds support for the Windows Live Messenger (also knows as MSN) protocol to Qutim. SVN version"
9 depends=('qutim-svn' 'openssl')
10 makedepends=('subversion' 'gcc' 'make' 'cmake')
11 provides=('qutim-plugin-msn-svn')
12 conflicts=('qutim-plugin-msn-svn')
15 _svntrunk=http://qutim.org/svn/$_svnmod
18 msg "Downloading from $_svntrunk ..."
20 if [ -d $_svnmod/.svn ]; then
21 (cd $_svnmod && svn up -r $pkgver)
23 svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
25 msg2 "SVN checkout done or server timeout"
27 msg "Creating temporary build directory..."
29 cp -r $_svnmod $_svnmod-build
30 cd $srcdir/$_svnmod-build
32 msg "Building and installing..."
33 cmake . -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release || return 1
35 make DESTDIR=${pkgdir} install || return 1
37 msg "Removing temporary files..."