1 # Maintainer: Daniel Kozak kozzi11@gmail.com>
5 pkgdesc="qdevkit utility"
7 url="http://merlin.fit.vutbr.cz/FITkit/uvod.html"
10 depends=(qt libssh libftdi fcmake-svn libkitclient-svn pythonqt-svn)
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 qdevkit from SVN server...."
31 if [ -d ${_svnmod[4]}/.svn ]; then
32 (cd ${_svnmod[4]} && svn up -r $pkgver)
34 svn co ${_svntrunk}/${_svnmod[4]} --config-dir ./ -r $pkgver ${_svnmod[4]}
37 msg "SVN checkout done or server timeout"
38 msg "Starting make qdevkit.."
40 rm -rf "${_svnmod[4]}-build"
41 svn export ${_svnmod[4]} ${_svnmod[4]}-build
42 cd ${_svnmod[4]}-build
44 cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr/
50 cd "$srcdir/${_svnmod[4]}-build"
51 make DESTDIR="$pkgdir/" install