summaryrefslogtreecommitdiff
path: root/community/midori
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-07-19 01:10:32 -0700
committerroot <root@rshg054.dnsready.net>2013-07-19 01:10:32 -0700
commit8fbc0076a4827ddc6af92e0b9daa4c4c31450808 (patch)
tree03fd0e2921ebd53228d9a93e32ed3976b636cbea /community/midori
parente445a313723389ba9ee1fded025c567dae5b21ea (diff)
Fri Jul 19 01:09:18 PDT 2013
Diffstat (limited to 'community/midori')
-rw-r--r--community/midori/PKGBUILD43
-rw-r--r--community/midori/midori.install14
2 files changed, 57 insertions, 0 deletions
diff --git a/community/midori/PKGBUILD b/community/midori/PKGBUILD
new file mode 100644
index 000000000..b763614f7
--- /dev/null
+++ b/community/midori/PKGBUILD
@@ -0,0 +1,43 @@
+# $Id: PKGBUILD 94215 2013-07-16 20:10:35Z 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.5.4
+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=('libzeitgeist' 'webkitgtk3' 'libnotify' 'libxss' 'hicolor-icon-theme' 'desktop-file-utils' 'libunique3' 'gcr') # 'granite'
+makedepends=('pkg-config' 'bzr' 'python2' 'libxml2' 'gtk3' 'intltool' 'python2-docutils' 'libsoup' 'vala' 'librsvg')
+optdepends=('gstreamer0.10-ugly-plugins: HTML5 videos support'
+ 'aria2: download utility')
+ #'steadyflow: download manager')
+options=('!emptydirs')
+source=("http://www.midori-browser.org/downloads/${pkgname}_${pkgver}_all_.tar.bz2")
+sha256sums=('d4ee77f3dd9bf2c07cea7674d533e77960e9346bd8b5482582ccb3cdaf182022')
+
+build() {
+ cd "$srcdir/${pkgname}_${pkgver}_all_"
+
+ python2 ./waf configure \
+ --prefix=/usr \
+ --enable-gtk3 \
+ --disable-granite \
+ --enable-webkit2
+ python2 ./waf build
+}
+
+package() {
+ cd "$srcdir/${pkgname}_${pkgver}_all_"
+
+ DESTDIR="$pkgdir" python2 ./waf install
+}
+
+# vim:set ts=2 sw=2 et:
diff --git a/community/midori/midori.install b/community/midori/midori.install
new file mode 100644
index 000000000..e6af79c5f
--- /dev/null
+++ b/community/midori/midori.install
@@ -0,0 +1,14 @@
+post_install() {
+ update-desktop-database -q
+ gtk-update-icon-cache -f -q -t usr/share/icons/hicolor
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+post_remove() {
+ post_install $1
+}
+
+# vim:set ts=2 sw=2 et: