blob: e65cc8b0a3d3479a88f99549eecbe3ebe4d14186 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
|
# $Id: PKGBUILD 79131 2012-10-30 23:51:10Z arodseth $
# Maintainer: Alexander Rødseth <rodseth@gmail.com>
# Maintainer: Bartłomiej Piotrowski <nospam@bpiotrowski.pl>
# Contributor: Andreas Radke <andyrtr@archlinux.org>
# Contributor: rabyte <rabyte.at.gmail.dot.com>
# Contributor: Johannes Krampf <wuischke.at.amule.dot.org>
# Contributor: Bartłomiej Piotrowski <barthalion@gmail.com>
pkgname=midori
pkgver=0.4.7
pkgrel=3.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=('webkitgtk2' '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')
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')
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
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
}
# vim:set ts=2 sw=2 et:
|