1 #Maintainer: k8n <egor.k8n@gmail.com>
3 pkgname=jumanji-git-gtk2
6 pkgdesc="jumanji is a highly customizable and functional web browser based on the libwebkit web content engine and the gtk+ toolkit"
8 url="http://pwmt.org/projects/jumanji"
10 depends=('girara-gtk2-git' 'libwebkit>=1.6.1' 'libsoup>=2.36.1')
13 conflicts=('jumanji' 'jumanji-git' 'jumanji-git-gtk2')
14 provides=('jumanji' 'jumanji-git' 'jumanji-git-gtk2')
16 _gitroot='git://pwmt.org/jumanji.git'
22 msg "Connecting to GIT server...."
24 if [ -d $_gitname ] ; then
25 cd $_gitname && git pull origin
26 msg "The local files are updated."
28 git clone $_gitroot $_gitname
29 cd $_gitname && git checkout --track -b $_branch origin/$_branch
32 msg "GIT checkout done or server timeout"
33 msg "Starting make..."
35 if [ -d ${srcdir}/$_gitname-build ]; then
36 rm -rf ${srcdir}/$_gitname-build
39 git clone ${srcdir}/$_gitname ${srcdir}/$_gitname-build || return 1
40 cd ${srcdir}/$_gitname-build/ || return 1
43 -e 's/gtk+-3.0/gtk+-2.0/g' \
44 -e 's/girara-gtk3/girara-gtk2/g' \
45 -e 's/webkitgtk-3.0/webkit-1.0/g' \
46 -e 's/javascriptcoregtk-3.0/javascriptcoregtk-1.0/g' \
49 make DATABASE=plain DESTDIR="$pkgdir/" install || return 1
50 install -D -m664 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"