1 #Maintainer: mlq <mlq@pwmt.org>
6 pkgdesc="a web browser"
8 url="http://pwmt.org/projects/jumanji"
10 depends=('girara-gtk3-git' 'libwebkit3>=1.6.1' 'libsoup>=2.36.1')
13 conflicts=('jumanji' 'jumanji-git')
14 provides=('jumanji' 'jumanji-git')
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
42 make DATABASE=plain DESTDIR="$pkgdir/" install || return 1
43 install -D -m664 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"