1 # created 23:15:00 - 02/04/10
2 # Contributor: PayableOnDeath <payableondeath90 at gmail.com>
7 pkgdesc="Simple web browser on QtWebKit that focus on usability"
8 url="http://gitorious.org/surfer"
10 arch=('i686' 'x86_64')
12 makedepends=('cmake' 'git')
15 _gitroot='git://gitorious.org/surfer/surfer.git'
25 msg "Connecting to gitorious.org GIT server...."
26 if [ -d $srcdir/$_gitname ] ; then
27 cd $_gitname && git pull origin
28 msg "The local files are updated."
32 msg "GIT checkout done or server timeout"
34 msg "Starting make..."
36 if [ -d $srcdir/$_gitname-build ]; then
37 rm -r $srcdir/$_gitname-build
39 cp -r $srcdir/$_gitname $srcdir/$_gitname-build
40 cd $srcdir/$_gitname-build
44 cmake -DCMAKE_INSTALL_PREFIX=$pkgdir .. || return 1
46 make install || return 1