1 # Contributor: Furyhunter <furyhunter600@gmail.com>
3 pkgname=kdevelop-extra-plugins-bazaar-svn
6 pkgdesc="Bazaar VCS plugin for KDevelop development environment for KDE - SVN build"
8 url="http://www.kdevelop.org/"
10 groups=('kde' 'kdevelop-extra-plugins')
11 depends=('kdevplatform')
12 optdepends=('kdevelop')
13 makedepends=('cmake' 'automoc4' 'subversion')
14 provides=('kdevelop-extra-plugins-bazaar')
15 conflicts=('kdevelop-extra-plugins-bazaar')
19 _svntrunk=svn://anonsvn.kde.org/home/kde/trunk/playground/devtools/kdevelop4-extra-plugins/bazaar
20 _svnmod=kdevelop-extra-plugins-bazaar-svn
25 if [ -d ${_svnmod}/.svn ]; then
26 rm ${_svnmod}/CMakeLists.txt
27 (cd ${_svnmod} && svn up -r ${pkgver})
29 svn co ${_svntrunk} --config-dir ./ -r ${pkgver} ${_svnmod}
36 -DCMAKE_SKIP_RPATH=ON \
37 -DCMAKE_BUILD_TYPE=DEBUG \
38 -DCMAKE_{SHARED,MODULE,EXE}_LINKER_FLAGS='-Wl,--no-undefined -Wl,--as-needed' \
39 -DCMAKE_INSTALL_PREFIX=/usr || return 1
43 cd $srcdir/build/bazaar
44 make DESTDIR=${pkgdir} install || return 1