1 # Contributor: Massimiliano Torromeo <Massimiliano DOT Torromeo AT gmail DOT com>
2 pkgname=kregexpeditor-svn
4 _svntrunk=svn://anonsvn.kde.org/home/kde/trunk/playground/utils/kregexpeditor/
9 pkgdesc="KDE editor for regular expressions"
11 url="http://websvn.kde.org/trunk/playground/utils/kregexpeditor/"
13 depends=('kdebase-runtime')
14 makedepends=('subversion' 'cmake' 'automoc4')
15 install=$_svnmod.install
19 if [ -d $_svnmod/.svn ]; then
20 (cd $_svnmod && svn up)
22 svn co $_svntrunk $_svnmod
25 msg "SVN checkout done or server timeout"
26 msg "Starting make..."
32 cmake $srcdir/$_svnmod \
33 -DCMAKE_INSTALL_PREFIX=/usr \
34 -DCMAKE_BUILD_TYPE=Release
39 cd "$srcdir/$_svnmod-build"
40 make DESTDIR="$pkgdir" install