1 # Contributor: Martin Sandsmark <sandsmark@samfundet.no>
5 pkgdesc="C++ FastCGI library based on QtCore"
7 url="http://gitorious.org/fastcgiqt"
20 md5sums=() #generate with 'makepkg -g'
22 _gitroot="git://gitorious.org/fastcgiqt/fastcgiqt.git"
27 msg "Connecting to GIT server...."
29 if [ -d $_gitname ] ; then
30 cd $_gitname && git pull origin
31 msg "The local files are updated."
36 msg "GIT checkout done or server timeout"
37 msg "Starting make..."
39 rm -rf "$srcdir/$_gitname-build"
40 mkdir "$srcdir/$_gitname-build"
41 cd "$srcdir/$_gitname-build"
47 cmake ../$_gitname -DCMAKE_INSTALL_PREFIX=/usr || return 1
49 make DESTDIR="$pkgdir/" install