1 # Contributor: Tim Yang <tdy@gmx.com>
2 # Contributor: adriano <adriano.src@gmail.com>
6 pkgdesc="A QtWebKit web browser"
8 url="http://code.google.com/p/foxkit/"
10 depends=('kdebase-runtime' 'openssl')
11 makedepends=('automoc4' 'cmake' 'git')
12 provides=('foxkit=0.0.5')
17 _gitroot="git://gitorious.org/foxkit/mainline.git"
23 msg "Connecting to $_gitroot..."
24 if [ -d "$_gitname" ] ; then
25 cd $_gitname && git pull origin
26 msg2 "Local files updated"
29 msg2 "Git checkout done"
32 rm -rf "$srcdir/$_gitname-build"
33 cp -r "$srcdir/$_gitname" "$srcdir/$_gitname-build"
34 cd "$srcdir/$_gitname-build"
36 msg "Starting make..."
37 cmake -DCMAKE_INSTALL_PREFIX=/usr \
38 -DCMAKE_BUILD_TYPE=RELEASE . || return 1
40 make DESTDIR="$pkgdir" install || return 1
41 install -Dm644 src/foxkitui.rc "$pkgdir/opt/kde/share/apps/foxkit/foxkitui.rc"