1 # Contributor: Thomas Mudrunka <harvie@@email..cz>
2 # Contributor: Nick Østergaard <oe.nick at gmail dot com>
3 # Maintainer: Thomas Mudrunka <harvie@@email..cz>
4 # You can also contact me on http://blog.harvie.cz/
9 pkgdesc="RepSnapper RepRap control software"
10 arch=('x86_64' 'i686')
11 url="https://github.com/timschmidt/repsnapper"
13 depends=('libreprap-git' 'gtkglext' 'libxml++')
18 _gitroot='git://github.com/timschmidt/repsnapper.git'
25 msg "Connecting to GIT server...."
27 if [ -d $_gitname ] ; then
28 cd $_gitname && git pull origin
29 msg "The local files are updated."
31 git clone --depth 1 $_gitroot $_gitname
34 msg "GIT checkout done or server timeout"
35 msg "Starting make..."
37 rm -rf "$srcdir/$_gitname-build"
38 cp -r "$srcdir/$_gitname" "$srcdir/$_gitname-build"
39 cd "$srcdir/$_gitname-build"
45 ./configure --prefix=/usr
50 cd "$srcdir/$_gitname-build"
51 make DESTDIR="$pkgdir/" install