summaryrefslogtreecommitdiff
path: root/libre/mcomix-libre
diff options
context:
space:
mode:
authorMárcio Alexandre Silva Delgado <coadde@lavabit.com>2013-05-22 16:36:15 -0300
committerMárcio Alexandre Silva Delgado <coadde@lavabit.com>2013-05-22 16:36:15 -0300
commitac30e3dc09b8c81a5dc38709dc2104c9a964d369 (patch)
tree9af0627b8f7945701ac66df349a4b043b4471ef0 /libre/mcomix-libre
parenta2c9647f90d7a51a8cb267645506d972d1bdccfe (diff)
parentbfe8b7bbed982c7239c5a152eacfbed44340c3f1 (diff)
downloadabslibre-ac30e3dc09b8c81a5dc38709dc2104c9a964d369.tar.gz
abslibre-ac30e3dc09b8c81a5dc38709dc2104c9a964d369.tar.bz2
abslibre-ac30e3dc09b8c81a5dc38709dc2104c9a964d369.zip
Merge branch 'master' of ssh://parabolagnulinux.org:1863/srv/git/abslibre
Diffstat (limited to 'libre/mcomix-libre')
-rw-r--r--libre/mcomix-libre/PKGBUILD4
-rw-r--r--libre/mcomix-libre/mcomix.install14
2 files changed, 8 insertions, 10 deletions
diff --git a/libre/mcomix-libre/PKGBUILD b/libre/mcomix-libre/PKGBUILD
index 9b727361a..aba53582b 100644
--- a/libre/mcomix-libre/PKGBUILD
+++ b/libre/mcomix-libre/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id$
+# $Id: PKGBUILD 91436 2013-05-22 14:15:00Z schuay $
# Maintainer: schuay <jakob.gruber@gmail.com>
# Contributor: Ray Powell <ray_al@xphoniexx.net>
# Maintainer (Parabola): André Silva <emulatorman@lavabit.com>
@@ -6,7 +6,7 @@
_pkgname=mcomix
pkgname=mcomix-libre
pkgver=1.00
-pkgrel=1
+pkgrel=3
pkgdesc="A user-friendly, customizable image viewer specifically designed to handle comic books, with unar recommendation"
arch=('any')
url="http://sourceforge.net/projects/mcomix/"
diff --git a/libre/mcomix-libre/mcomix.install b/libre/mcomix-libre/mcomix.install
index 2d3c6c3e3..c33c1d5a1 100644
--- a/libre/mcomix-libre/mcomix.install
+++ b/libre/mcomix-libre/mcomix.install
@@ -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}
+ usr/sbin/gconfpkg --install ${pkgname} &> /dev/null
fi
+ xdg-icon-resource forceupdate --theme hicolor &> /dev/null
update-desktop-database -q
+ update-mime-database usr/share/mime &> /dev/null
}
pre_upgrade() {
@@ -20,13 +19,12 @@ post_upgrade() {
pre_remove() {
if [ -f usr/sbin/gconfpkg ]; then
- usr/sbin/gconfpkg --uninstall ${pkgname}
+ usr/sbin/gconfpkg --uninstall ${pkgname} &> /dev/null
fi
}
post_remove() {
- if [ -f usr/bin/xdg-icon-resource ]; then
- xdg-icon-resource forceupdate
- fi
+ xdg-icon-resource forceupdate --theme hicolor &> /dev/null
update-desktop-database -q
+ update-mime-database usr/share/mime &> /dev/null
}