1 # Contributor: mutlu_inek <mutlu_inek@yahoo.de>
3 pkgname=taimetraquer-svn
6 pkgdesc="A plamsa widget to track the use of time like gtimelog"
7 url="http://liveblue.wordpress.com/2010/07/14/back-from-finland-new-plasmoid-in-playground/"
10 depends=('kdebase-workspace')
11 makedepends=('cmake' 'subversion')
17 _svntrunk="svn://anonsvn.kde.org/home/kde/trunk/playground/base/plasma/applets/taimetraquer"
18 _svnmod="taimetraquer"
23 msg "Connecting to SVN server...."
25 if [ -d ${_svnmod}/.svn ]; then
26 (cd ${_svnmod} && svn up -r $pkgver)
28 svn co ${_svntrunk} --config-dir ./ -r $pkgver ${_svnmod}
31 msg "SVN checkout done or server timeout"
32 msg "Starting make..."
34 svn export ${_svnmod} ${_svnmod}-build
37 cmake -DCMAKE_INSTALL_PREFIX=/usr
39 make DESTDIR=$pkgdir install || return 1
41 rm -rf ${srcdir}/${_svnmod}-build