1 # Contributor: Borislav Gerassimov (slimmer) <borislavba (at) gmail.com>
2 pkgname=qutim-plugin-yandexnarod-svn
5 pkgdesc="Yandex.Narod file tranfer support for Qutim. SVN version"
10 makedepends=('subversion' 'gcc' 'make')
11 provides=('qutim-plugin-yandexnarod')
12 conflicts=('qutim-plugin-yandexnarod')
13 replaces=('qutim-plugin-yandexnarod')
15 _svnmod=qutim-yandexnarod
16 _svntrunk=https://boiler.co.ru/svn/$_svnmod
19 msg "Downloading from $_svntrunk ..."
21 if [ -d $_svnmod/.svn ]; then
22 (cd $_svnmod && svn up -r $pkgver)
24 svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
26 msg2 "SVN checkout done or server timeout"
28 msg "Creating temporary build directory..."
30 cp -r $_svnmod $_svnmod-build
31 cd $srcdir/$_svnmod-build
33 msg "Building and installing..."
36 install -Dm 644 libyandexnarod.so \
37 $pkgdir/usr/lib/qutim/libyandexnarod.so || return 1
39 msg "Removing temporary files..."