# $Id: PKGBUILD 83885 2013-02-06 11:36:28Z arodseth $ # Maintainer: Alexander Rødseth # Maintainer: Bartłomiej Piotrowski # Contributor: Andreas Radke # Contributor: rabyte # Contributor: Johannes Krampf # Contributor: Bartłomiej Piotrowski pkgname=midori pkgver=0.4.8 pkgrel=1 pkgdesc='Lightweight web browser based on Gtk WebKit' arch=('x86_64' 'i686' 'mips64el') url='http://www.twotoasts.de/index.php?/pages/midori_summary.html' license=('LGPL2.1') install=midori.install depends=('libzeitgeist' 'libwebkit' 'libnotify' 'libxss' 'libunique' 'hicolor-icon-theme' 'desktop-file-utils' 'gcr') makedepends=('libxml2' 'intltool' 'gtk-doc' 'librsvg' 'python2' 'vala') optdepends=('gstreamer0.10-ugly-plugins: HTML5 videos support' 'aria2: download utility') options=('!emptydirs') source=("http://archive.xfce.org/src/apps/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.bz2" 'fix-copying.patch') sha256sums=('40bf23f84a3537f54d7eb45df1da40ebef54c321b1b34d0d0c8e45bb0cce5e9f' 'd4395ac994d8d614f93ae4863bbf6289b1980e0ed84aef52ca95a678b464b959') build() { cd $srcdir/$pkgname-$pkgver # FS#32229 patch -s -Np1 -i ../fix-copying.patch > /dev/null || true # Python 2 export PYTHON=/usr/bin/python2 sed -i -e "s|#![ ]*/usr/bin/env python$|#!/usr/bin/env python2|" wscript waf ./configure --prefix=/usr \ --jobs=${MAKEFLAGS/-j/} \ --enable-addons \ --enable-unique \ --enable-nls \ --enable-docs \ --enable-apidocs make } package() { cd "$srcdir/$pkgname-$pkgver" make DESTDIR="$pkgdir" install } # vim:set ts=2 sw=2 et: