[arch-commits] Commit in (7 files)
Alexander Rødseth
arodseth at archlinux.org
Sun Sep 6 22:11:39 UTC 2015
Date: Monday, September 7, 2015 @ 00:11:39
Author: arodseth
Revision: 139403
midori->midori-gtk2, midori-gtk3->midori
Added:
midori-gtk2/
midori-gtk2/repos/
midori-gtk2/repos/community-i686/
midori-gtk2/repos/community-x86_64/
midori-gtk2/trunk/
midori-gtk2/trunk/PKGBUILD
midori-gtk2/trunk/midori.install
----------------+
PKGBUILD | 40 ++++++++++++++++++++++++++++++++++++++++
midori.install | 14 ++++++++++++++
2 files changed, 54 insertions(+)
Added: midori-gtk2/trunk/PKGBUILD
===================================================================
--- midori-gtk2/trunk/PKGBUILD (rev 0)
+++ midori-gtk2/trunk/PKGBUILD 2015-09-06 22:11:39 UTC (rev 139403)
@@ -0,0 +1,40 @@
+# $Id: PKGBUILD 139371 2015-09-06 21:13:29Z arodseth $
+# Maintainer: Alexander Rødseth <rodseth at gmail.com>
+# Contributor: Andreas Radke <andyrtr at archlinux.org>
+# Contributor: rabyte <rabyte.at.gmail.dot.com>
+# Contributor: Johannes Krampf <wuischke.at.amule.dot.org>
+# Contributor: Bartłomiej Piotrowski <bpiotrowski at archlinux.org>
+# Contributor: Andrew Gregory <andrew.gregory.8 at gmail.com>
+
+pkgname=midori-gtk2
+pkgver=0.5.11
+pkgrel=1
+pkgdesc='Lightweight web browser (GTK2)'
+arch=('x86_64' 'i686')
+url='http://www.midori-browser.org/'
+license=('LGPL2.1')
+install='midori.install'
+conflicts=('midori')
+provides=('midori')
+depends=('webkitgtk2' 'libnotify' 'libxss' 'hicolor-icon-theme' 'desktop-file-utils' 'libunique' 'gcr' 'libzeitgeist' 'zeitgeist')
+makedepends=('bzr' 'python2' 'intltool' 'vala' 'librsvg' 'cmake' 'ninja' 'gcr' 'libzeitgeist' 'zeitgeist')
+optdepends=('aria2: download utility')
+options=('!emptydirs')
+source=("http://www.midori-browser.org/downloads/${pkgname/-gtk2}_${pkgver}_all_.tar.bz2")
+sha256sums=('96191a96be71144ae848a409fae5a1d6d52a00e583f33122081f47ead9c49c3d')
+
+build() {
+ cd "${pkgname/-gtk2}-$pkgver"
+
+ mkdir -p build
+ cd build
+ cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIBDIR=lib -G Ninja
+ ninja
+}
+
+package() {
+ DESTDIR="$pkgdir" ninja -C "${pkgname/-gtk2}-$pkgver/build" install
+}
+
+# getver: -u 2 midori-browser.org/download/source
+# vim:set ts=2 sw=2 et:
Added: midori-gtk2/trunk/midori.install
===================================================================
--- midori-gtk2/trunk/midori.install (rev 0)
+++ midori-gtk2/trunk/midori.install 2015-09-06 22:11:39 UTC (rev 139403)
@@ -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:
More information about the arch-commits
mailing list