From b8afacf1f28ac27321feb9b92bd50dd8961b7736 Mon Sep 17 00:00:00 2001 From: root Date: Tue, 6 Mar 2012 00:01:33 +0000 Subject: Tue Mar 6 00:01:33 UTC 2012 --- community/midori/PKGBUILD | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 community/midori/PKGBUILD (limited to 'community/midori/PKGBUILD') diff --git a/community/midori/PKGBUILD b/community/midori/PKGBUILD new file mode 100644 index 000000000..815e16643 --- /dev/null +++ b/community/midori/PKGBUILD @@ -0,0 +1,40 @@ +# $Id: PKGBUILD 67138 2012-03-04 23:52:43Z pschmitz $ +# Maintainer: Andreas Radke +# Contributor: rabyte +# Contributor: Johannes Krampf + +pkgname=midori +pkgver=0.4.3 +pkgrel=1 +pkgdesc="A lightweight web browser based on Gtk WebKit" +arch=('i686' 'x86_64') +url="http://www.twotoasts.de/index.php?/pages/midori_summary.html" +license=('LGPL2.1') +install=midori.install +depends=('libwebkit>=1.3.13' 'libunique' 'hicolor-icon-theme' 'desktop-file-utils' 'libnotify>=0.7.1' 'libxss') +makedepends=('libxml2' 'intltool' 'gtk-doc' 'librsvg' 'python2>=2.7.1' 'vala') # 'git' +optdepends=('vala: for use in extensions') +source=(http://archive.xfce.org/src/apps/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.bz2) +md5sums=('900037557b82818d79d2dd1c5a7d7fd2') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + + # python2 + 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 \ + --disable-hildon \ + --enable-unique \ + --enable-nls \ + --enable-docs \ + --enable-apidocs + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install +} -- cgit v1.2.3-54-g00ecf