1 # Contributor: Vojtech Horky <vojta . horky at-symbol seznam . cz>
5 pkgdesc="Source code editor with simple project management"
6 url="https://sourceforge.net/projects/otteredit/"
10 makedepends=('git' 'cmake')
17 _gitroot="git://otteredit.git.sourceforge.net/gitroot/otteredit/otteredit"
22 msg "Connecting to SourceForge.net GIT server...."
24 if [ -d ${srcdir}/$_gitname ] ; then
25 cd $_gitname && git pull origin
26 msg "The local files are updated."
31 msg "GIT checkout done or server timeout."
34 msg "Starting make..."
35 git clone $_gitname $_gitname-build
36 cd ${srcdir}/$_gitname-build
41 cmake -DCMAKE_INSTALL_PREFIX=/usr/ .. || return 1
43 make DESTDIR=${pkgdir} install || return 1