1 #Maintainer: hzqtc <hzqtc1229@gmail.com>
6 pkgdesc="a web browser"
8 url="http://pwmt.org/projects/jumanji"
10 depends=('libwebkit>=1.2.1' 'libsoup>=2.22.4' 'libunique>=1.1.2' 'gtk2>=2.18.6' 'glib2>=2.22.4')
13 conflicts=('jumanji' 'jumanji-git')
14 provides=('jumanji' 'jumanji-git')
16 _gitroot='git://pwmt.org/jumanji.git'
21 msg "Connecting to GIT server...."
23 if [ -d $_gitname ] ; then
24 cd $_gitname && git pull origin
25 msg "The local files are updated."
27 git clone $_gitroot $_gitname
31 msg "GIT checkout done or server timeout"
32 msg "Starting make..."
34 if [ -d ${srcdir}/$_gitname-build ]; then
35 rm -rf ${srcdir}/$_gitname-build
38 git clone ${srcdir}/$_gitname ${srcdir}/$_gitname-build || return 1
39 cd ${srcdir}/$_gitname-build/ || return 1
41 make DATABASE=plain DESTDIR="$pkgdir/" install || return 1
42 install -D -m664 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"