1 # Maintainer Martin Peres <martin.peres@ensi-bourges.fr>
5 pkgdesc="ArduIDE is a Qt-based IDE for the open-source Arduino electronics prototyping platform."
7 url="http://arduide.mupuf.org"
9 depends=('qt>=4.5' 'qscintilla' 'grantlee>=0.1' 'udev' 'gcc-libs' 'gcc-avr' 'avr-libc')
10 makedepends=('git' 'cmake')
12 _gitroot="git://gitorious.org/arduide/arduide.git"
17 msg "Connecting to GIT server...."
19 if [ -d $_gitname ] ; then
20 cd $_gitname && git pull origin
21 msg "The local files are updated."
23 git clone $_gitroot $_gitname
26 msg "GIT checkout done or server timeout"
27 msg "Starting make..."
29 rm -rf "$srcdir/$_gitname-build"
30 git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
31 cd "$srcdir/$_gitname-build"
33 mkdir build && cd build
34 cmake -DCMAKE_INSTALL_PREFIX=/usr -DUSE_FHS_PATHS=ON -DCMAKE_BUILD_TYPE=Release ..
36 make DESTDIR="$pkgdir/" install