1 # Maintainer: Daniel Kozak kozzi11@gmail.com>
5 pkgdesc="fcmake devkit utility"
7 url="http://merlin.fit.vutbr.cz/FITkit/uvod.html"
11 makedepends=(subversion cmake qt swig)
24 _svntrunk="http://merlin.fit.vutbr.cz/svn/FITkitUtils/trunk"
25 _svnmod=('fcmake' 'libkitclient' 'fkflash' 'pythonqt' 'qdevkit' 'qdevkit-plugins')
29 msg "Retrieaing fcmake from SVN server...."
31 if [ -d ${_svnmod[0]}/.svn ]; then
32 (cd ${_svnmod[0]} && svn up -r $pkgver)
34 svn co ${_svntrunk}/${_svnmod[0]} --config-dir ./ -r $pkgver ${_svnmod[0]}
37 msg "SVN checkout done or server timeout"
38 msg "Starting make fcmake..."
40 rm -rf "${_svnmod[0]}-build"
41 svn export ${_svnmod[0]} ${_svnmod[0]}-build
42 cd ${_svnmod[0]}-build
44 cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr/
49 cd "$srcdir/${_svnmod[0]}-build"
50 make DESTDIR="$pkgdir/" install