1 # Maintainer: Callea Gaetano Andrea <callea:gaetano:andrea/gmail:com>
3 pkgname=kdevelop-extra-plugins-ruby-svn
6 pkgdesc="A Ruby plugin for KDevelop development environment for KDE - SVN build"
8 url="http://www.kdevelop.org/"
10 depends=('kdevplatform-git')
11 optdepends=('kdevelop-git')
12 makedepends=('cmake' 'automoc4' 'subversion' 'kdevelop-pg-qt-git')
13 provides=('kdevelop-extra-plugins-ruby-svn')
14 install=kdevelop-extra-plugins-ruby-svn.install
18 _svntrunk=svn://anonsvn.kde.org/home/kde/trunk/playground/devtools/kdevelop4-extra-plugins/ruby
24 if [[ -d ${_svnmod}/.svn ]]; then
25 rm ${_svnmod}/CMakeLists.txt
26 (cd ${_svnmod} && svn up -r ${pkgver})
28 svn co ${_svntrunk} --config-dir ./ -r ${pkgver} ${_svnmod}
31 # Rebuilding frequently, comment this out
32 [[ -d build ]] && rm -rf build
37 # all of these (BUILD_*=OFF) are considered broken/unmaintained
39 -DCMAKE_SKIP_RPATH=ON \
40 -DCMAKE_BUILD_TYPE=DEBUG \
41 -DCMAKE_{SHARED,MODULE,EXE}_LINKER_FLAGS='-Wl,--no-undefined -Wl,--as-needed' \
42 -DCMAKE_INSTALL_PREFIX=/usr || return 1
46 make DESTDIR=${pkgdir} install || return 1