1 # Maintainer: Alexander Rødseth <rodseth@gmail.com>
2 # Contributor: Arkham <arkham at archlinux dot us>
3 # Contributor: hybraries <macwolf@archlinux.de>
4 # Contributor: Stefan Husmann <stefan-husmann@t-online.de>
5 # Contributor: Navi <navitwo.at.gmail.dot.com>
6 # Contributor: rabyte <rabyte.at.gmail.dot.com>
7 # Contributor: Johannes Krampf <wuischke.at.amule.dot.org>
11 pkgdesc="A lightweight web browser based on WebKit. Git development version."
12 arch=('x86_64' 'i686')
13 url="http://twotoasts.de/index.php?/pages/midori_summary.html"
15 depends=('libwebkit3' 'libnotify' 'libxss' 'hicolor-icon-theme' 'desktop-file-utils' 'libwebkit' 'libunique3')
16 makedepends=('pkg-config' 'git' 'python2' 'libxml2' 'gtk3' 'intltool' 'docutils' 'libsoup' 'vala' 'librsvg')
18 conflicts=('midori' 'midori-gtk2-git')
19 install=midori.install
20 _gitroot="git://git.xfce.org/apps/midori"
26 msg "Connecting to the midori git repository..."
27 if [ -d "$srcdir/$_gitname" ] ; then
28 cd $_gitname && git pull origin
29 msg "The local files are updated."
34 msg "GIT checkout done or server timeout"
36 rm -rf $_gitname-build
37 git clone $_gitname $_gitname-build
41 sed -i '0,/on/s//on2/' waf wscript
43 ./waf configure --prefix=/usr --enable-gtk3
52 DESTDIR="$pkgdir" ./waf install
54 rmdir "$pkgdir/usr/share/gir-1.0"
57 # vim:set ts=2 sw=2 et: