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

Jakob Gruber schuay at nymeria.archlinux.org
Wed May 22 02:00:11 EDT 2013


    Date: Wednesday, May 22, 2013 @ 08:00:11
  Author: schuay
Revision: 91408

mcomix 1.00-2

Modified:
  mcomix/trunk/PKGBUILD
  mcomix/trunk/mcomix.install

----------------+
 PKGBUILD       |    6 +++---
 mcomix.install |   10 ++++------
 2 files changed, 7 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-05-22 04:40:33 UTC (rev 91407)
+++ PKGBUILD	2013-05-22 06:00:11 UTC (rev 91408)
@@ -4,14 +4,14 @@
 
 pkgname=mcomix
 pkgver=1.00
-pkgrel=1
+pkgrel=2
 pkgdesc="A user-friendly, customizable image viewer specifically designed to handle comic books"
 arch=('any')
 url="http://sourceforge.net/projects/mcomix/"
 license=('GPL')
 depends=('pygtk' 'python-imaging' 'xdg-utils' 'python2' \
-         'desktop-file-utils' 'hicolor-icon-theme' 'python2-distribute')
-makedepends=('gettext' 'intltool')
+         'desktop-file-utils' 'hicolor-icon-theme')
+makedepends=('gettext' 'intltool' 'python2-distribute')
 optdepends=('unrar: for rar compressed comics')
 conflicts=('comix')
 replaces=('comix')

Modified: mcomix.install
===================================================================
--- mcomix.install	2013-05-22 04:40:33 UTC (rev 91407)
+++ mcomix.install	2013-05-22 06:00:11 UTC (rev 91408)
@@ -1,13 +1,12 @@
 pkgname=mcomix
 
 post_install() {
-  if [ -f usr/bin/xdg-icon-resource ]; then
-      xdg-icon-resource forceupdate
-  fi
   if [ -f usr/sbin/gconfpkg ]; then
       usr/sbin/gconfpkg --install ${pkgname}
   fi
+  xdg-icon-resource forceupdate
   update-desktop-database -q
+  update-mime-database usr/share/mime
 }
 
 pre_upgrade() {
@@ -25,8 +24,7 @@
 }
 
 post_remove() {
-  if [ -f usr/bin/xdg-icon-resource ]; then
-      xdg-icon-resource forceupdate
-  fi
+  xdg-icon-resource forceupdate
   update-desktop-database -q
+  update-mime-database usr/share/mime
 }



More information about the arch-commits mailing list