diff options
author | root <root@rshg054.dnsready.net> | 2013-08-02 01:31:32 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-08-02 01:31:32 -0700 |
commit | f7cd2a0a073da2373cd3f3c8e31515dd0b83b645 (patch) | |
tree | e28c5c379825afaf02a927a8f1d1b1fcb94c2362 /community/midori-gtk3 | |
parent | 70ec180b1cca6eda5576597c2bfff9171f7815bf (diff) |
Fri Aug 2 01:30:56 PDT 2013
Diffstat (limited to 'community/midori-gtk3')
-rw-r--r-- | community/midori-gtk3/PKGBUILD | 52 | ||||
-rw-r--r-- | community/midori-gtk3/midori.install | 14 |
2 files changed, 66 insertions, 0 deletions
diff --git a/community/midori-gtk3/PKGBUILD b/community/midori-gtk3/PKGBUILD new file mode 100644 index 000000000..38ee8efcc --- /dev/null +++ b/community/midori-gtk3/PKGBUILD @@ -0,0 +1,52 @@ +# $Id: PKGBUILD 94966 2013-08-01 20:26:43Z 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> + +# +# Note: +# +# * Depending on and compiling with 'granite' didn't work last time I tried. +# * If steadyflow is moved to [community] or [extra], it can be added as an optdepends. +# + +pkgname=midori-gtk3 +pkgver=0.5.4 +pkgrel=1 +pkgdesc='Lightweight web browser (GTK3)' +arch=('x86_64' 'i686') +url='http://www.midori-browser.org/' +license=('LGPL2.1') +install='midori.install' +conflicts=('midori') +replaces=('midori') +provides=('midori') +depends=('libzeitgeist' 'webkitgtk' 'libnotify' 'libxss' 'hicolor-icon-theme' 'desktop-file-utils' 'libunique3' 'gcr') +makedepends=('pkg-config' 'bzr' 'python2' 'libxml2' 'gtk3' 'intltool' 'python2-docutils' 'libsoup' 'vala' 'librsvg') +optdepends=('gstreamer0.10-ugly-plugins: HTML5 videos support' + 'aria2: download utility') +options=('!emptydirs') +source=("http://www.midori-browser.org/downloads/midori_${pkgver}_all_.tar.bz2") +sha256sums=('d4ee77f3dd9bf2c07cea7674d533e77960e9346bd8b5482582ccb3cdaf182022') + +build() { + cd "$srcdir/midori_${pkgver}_all_" + + python2 ./waf configure \ + --prefix=/usr \ + --enable-gtk3 \ + --disable-granite \ + --enable-webkit2 + python2 ./waf build +} + +package() { + cd "$srcdir/midori_${pkgver}_all_" + + DESTDIR="$pkgdir" python2 ./waf install +} + +# vim:set ts=2 sw=2 et: diff --git a/community/midori-gtk3/midori.install b/community/midori-gtk3/midori.install new file mode 100644 index 000000000..e6af79c5f --- /dev/null +++ b/community/midori-gtk3/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: |