[arch-commits] Commit in midori/trunk (PKGBUILD midori.install)

Eric Bélanger eric at archlinux.org
Tue Nov 15 19:01:50 EST 2011


    Date: Tuesday, November 15, 2011 @ 19:01:49
  Author: eric
Revision: 142824

upgpkg: midori 0.4.2-1

Upstream update, Clean up depends and .install file

Modified:
  midori/trunk/PKGBUILD
  midori/trunk/midori.install

----------------+
 PKGBUILD       |   14 +++++++-------
 midori.install |    8 +++-----
 2 files changed, 10 insertions(+), 12 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2011-11-15 21:19:44 UTC (rev 142823)
+++ PKGBUILD	2011-11-16 00:01:49 UTC (rev 142824)
@@ -4,21 +4,21 @@
 # Contributor: Johannes Krampf <wuischke.at.amule.dot.org>
 
 pkgname=midori
-pkgver=0.4.1
+pkgver=0.4.2
 pkgrel=1
 pkgdesc="A lightweight web browser based on Gtk WebKit"
 arch=('i686' 'x86_64')
 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' 'sqlite3' 'glib2')
+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') # 'git'
 optdepends=('vala: for use in extensions')
-source=(http://archive.xfce.org/src/apps/$pkgname/0.4/$pkgname-$pkgver.tar.bz2)
-md5sums=('33dde203cd71ae2b1d2adcc7f5739f65')
+source=(http://archive.xfce.org/src/apps/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.bz2)
+md5sums=('4ec9c3daa332ebe865cba6aa8256ef63')
 
 build() {
-  cd ${srcdir}/${pkgname}-${pkgver}
+  cd "${srcdir}/${pkgname}-${pkgver}"
   
   # python2 
   export PYTHON=/usr/bin/python2
@@ -35,6 +35,6 @@
 }
 
 package() {
-  cd ${srcdir}/${pkgname}-${pkgver}
-  make DESTDIR=${pkgdir} install
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  make DESTDIR="${pkgdir}" install
 }

Modified: midori.install
===================================================================
--- midori.install	2011-11-15 21:19:44 UTC (rev 142823)
+++ midori.install	2011-11-16 00:01:49 UTC (rev 142824)
@@ -1,7 +1,6 @@
 post_install() {
-
-gtk-update-icon-cache -f -q -t /usr/share/icons/hicolor
-update-desktop-database -q
+  update-desktop-database -q
+  gtk-update-icon-cache -f -q -t usr/share/icons/hicolor
 }
 
 post_upgrade() {
@@ -9,6 +8,5 @@
 }
 
 post_remove() {
-update-desktop-database -q
-gtk-update-icon-cache -f -q -t /usr/share/icons/hicolor
+  post_install $1
 }



More information about the arch-commits mailing list