1 # Maintainer: Mark Foxwell <fastfret79@archlinux.org.uk>
2 # Contributor: Dieter Plaetinck <dieter@plaetinck.be>
3 # Contributer: Brendan Taylor <whateley@gmail.com>
4 # Contributer: L42y <423300@gmail.com>
8 pkgdesc="All uzbl web interface tools: latest from the git master branch"
10 url="http://github.com/Dieterbe/uzbl/"
12 depends=('libwebkit3' 'socat' 'zenity' 'xclip' 'dmenu' 'python2' 'pygtk')
13 makedepends=('git' 'pkgconfig' 'libwebkit>=1.2.0')
14 provides=('uzbl-core' 'uzbl-browser' 'uzbl-tabbed')
15 conflicts=('uzbl-core' 'uzbl-browser' 'uzbl-tabbed' 'uzbl-experimental-git')
17 _gitroot="git://github.com/Dieterbe/uzbl.git"
23 msg "Connecting to GIT server...."
25 if [ -d $_gitname ] ; then
26 cd $_gitname && git pull origin
27 msg "The local files are updated."
29 git clone $_gitroot $_gitname
32 msg "GIT checkout done or server timeout"
33 msg "Starting make..."
35 rm -rf "$srcdir/$_gitname-build"
36 git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
37 cd "$srcdir/$_gitname-build"
40 sed -i 's_#!/usr/bin/env python_#!/usr/bin/env python2_' $file
42 sed -i -e "s|#![ ]*/usr/bin/python$|#!/usr/bin/python2|" \
43 -e "s|#![ ]*/usr/bin/env python$|#!/usr/bin/env python2|" \
44 $(find ./ -name '*.py')
50 cd "$srcdir/$_gitname-build"
51 make DESTDIR="$pkgdir" PREFIX=/usr install