1 # Contributor: Elyess Zouaghi (elyess.tds@gmail.com)
7 url="http://shaman.iskrembilen.com/"
10 depends=('kdelibs' 'aqpm-git')
11 makedepends=('subversion' 'cmake' 'aqpm-git')
17 _svntrunk="svn://anonsvn.kde.org/home/kde/trunk/playground/sysadmin/shaman/"
22 msg "Connecting to the SVN server...."
23 svn co $_svntrunk $_svnmod
25 [ -d ./$_svnmod-build ] && rm -fr ./$_svnmod-build
26 cp -r ./$_svnmod ./$_svnmod-build
29 msg "SVN checkout done or server timeout"
30 msg "Starting cmake..."
32 cmake . -DCMAKE_INSTALL_PREFIX=/usr || return 1
34 msg "Starting make..."
38 msg "Make successful, installing..."
40 make DESTDIR=${pkgdir} install || return 1
43 find $startdir/pkg/ -name ".svn" -type d -exec rm -fr {} +