# Note: depends on pkg-config
# Note: depends on webkitgtk
# Note: depends on libsoup
# Note: depends on gtk+ or gtk+2
# Note: depends on json-c
wget -c https://bitbucket.org/portix/dwb/downloads/dwb-2013.03.30.tar.gz
tar -xzf dwb-2013.03.30.tar.gz
cd dwb-2013.03.30
sed -i -e 's/_dom_html_element_get_id(WEBKIT_DOM_HTML_/_dom_element_get_id(WEBKIT_DOM_/g' src/html.c
sed -i -e 's/_dom_html_element_set_id(WEBKIT_DOM_HTML_/_dom_element_set_id(WEBKIT_DOM_/g' src/view.c
sed -i -e 's/_dom_html_element_get_id(WEBKIT_DOM_HTML_/_dom_element_get_id(WEBKIT_DOM_/g' src/editor.c
make # Doesn't mind -j#
make install