summaryrefslogtreecommitdiff
path: root/community/midori/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/midori/PKGBUILD')
-rw-r--r--community/midori/PKGBUILD34
1 files changed, 15 insertions, 19 deletions
diff --git a/community/midori/PKGBUILD b/community/midori/PKGBUILD
index fd40b3e4e..72587c724 100644
--- a/community/midori/PKGBUILD
+++ b/community/midori/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 79131 2012-10-30 23:51:10Z arodseth $
+# $Id: PKGBUILD 83885 2013-02-06 11:36:28Z arodseth $
# Maintainer: Alexander Rødseth <rodseth@gmail.com>
# Maintainer: Bartłomiej Piotrowski <nospam@bpiotrowski.pl>
# Contributor: Andreas Radke <andyrtr@archlinux.org>
@@ -7,41 +7,36 @@
# Contributor: Bartłomiej Piotrowski <barthalion@gmail.com>
pkgname=midori
-pkgver=0.4.7
-pkgrel=3
+pkgver=0.4.8
+pkgrel=1
pkgdesc='Lightweight web browser based on Gtk WebKit'
arch=('x86_64' 'i686')
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')
-optdepends=('gstreamer0.10-ugly-plugins: HTML5 videos support')
+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
- 0.4.7-private-mode.patch
- fix-copying.patch)
-md5sums=('06db7b88a41e9b2265728960d5e98f35'
- 'b2f21a853038662fd0e6c2274ed9dfb7'
- '4bf3a0af4edc9ad6c4d46fc9676d9eb0')
+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#31641
- patch -s -Np1 -i ../0.4.7-private-mode.patch
-
# FS#32229
patch -s -Np1 -i ../fix-copying.patch > /dev/null || true
- # python2
+ # 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 \
- --disable-hildon \
--enable-unique \
--enable-nls \
--enable-docs \
@@ -50,8 +45,9 @@ build() {
}
package() {
- cd $srcdir/$pkgname-$pkgver
- make DESTDIR=$pkgdir install
+ cd "$srcdir/$pkgname-$pkgver"
+
+ make DESTDIR="$pkgdir" install
}
# vim:set ts=2 sw=2 et: