# Maintainer: Natanael Copa pkgname=midori pkgver=0.4.2 pkgrel=0 pkgdesc="A lightweight web browser based on Gtk WebKit" url="http://www.twotoasts.de/index.php?/pages/midori_summary.html" arch="all" license="GPL" depends=" desktop-file-utils hicolor-icon-theme " makedepends=" gettext-dev git intltool libidn-dev libnotify-dev librsvg-dev libunique-dev libxml2-dev paxctl pkgconfig python sqlite-dev vala webkit-dev " subpackages="$pkgname-lang" install="$pkgname.post-install $pkgname.post-upgrade $pkgname.post-deinstall" source="http://archive.xfce.org/src/apps/midori/${pkgver%.*}/midori-$pkgver.tar.bz2" build() { cd "$srcdir"/$pkgname-$pkgver ./configure --prefix=/usr \ --jobs=${MAKEFLAGS/-j/} \ --enable-addons \ --disable-hildon \ --enable-unique \ --enable-nls \ || return 1 make } package() { cd "$srcdir"/$pkgname-$pkgver make DESTDIR="$pkgdir" install || return 1 # PAX does not like the JIT paxctl -c -m -p "$pkgdir"/usr/bin/midori } md5sums="4ec9c3daa332ebe865cba6aa8256ef63 midori-0.4.2.tar.bz2"