1 pkgname=qutim-plugin-histman-svn
4 pkgdesc="History Manager for Qutim. SVN version"
9 makedepends=('subversion')
10 provides=('qutim-plugin-histman')
11 conflicts=('qutim-plugin-histman')
12 replaces=('qutim-plugin-histman')
15 _svntrunk=http://qutim.org/svn/$_svnmod/trunk
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 svn export $_svnmod $_svnmod-build
30 cd $srcdir/$_svnmod-build
32 msg "Building and installing..."
33 qmake CONFIG+=silent|| return 1
35 install -Dm 644 libhistman.so \
36 $pkgdir/usr/lib/qutim/libhistman.so || return 1
38 msg "Removing temporary files..."