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

Jakob Gruber schuay at archlinux.org
Tue May 3 17:13:39 UTC 2016


    Date: Tuesday, May 3, 2016 @ 19:13:39
  Author: schuay
Revision: 173581

mcomix hooks rebuild

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

----------------+
 PKGBUILD       |    3 +--
 mcomix.install |   31 -------------------------------
 2 files changed, 1 insertion(+), 33 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-05-03 17:08:39 UTC (rev 173580)
+++ PKGBUILD	2016-05-03 17:13:39 UTC (rev 173581)
@@ -4,7 +4,7 @@
 
 pkgname=mcomix
 pkgver=1.2.1
-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/"
@@ -15,7 +15,6 @@
 optdepends=('unrar: for rar compressed comics')
 conflicts=('comix')
 replaces=('comix')
-install='mcomix.install'
 source=("http://downloads.sourceforge.net/project/mcomix/MComix-${pkgver}/mcomix-${pkgver}.tar.bz2")
 
 build() {

Deleted: mcomix.install
===================================================================
--- mcomix.install	2016-05-03 17:08:39 UTC (rev 173580)
+++ mcomix.install	2016-05-03 17:13:39 UTC (rev 173581)
@@ -1,31 +0,0 @@
-pkgname=mcomix
-
-post_install() {
-  if [ -f usr/sbin/gconfpkg ]; then
-      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() {
-  pre_remove $1
-}
-
-post_upgrade() {
-  echo 'In case of any issues with zoom keybindings, delete ~/.config/mcomix/keybindings.conf.'
-  post_install $1
-}
-
-pre_remove() {
-  if [ -f usr/sbin/gconfpkg ]; then
-      usr/sbin/gconfpkg --uninstall ${pkgname} &> /dev/null
-  fi
-}
-
-post_remove() {
-  xdg-icon-resource forceupdate --theme hicolor &> /dev/null
-  update-desktop-database -q
-  update-mime-database usr/share/mime &> /dev/null
-}



More information about the arch-commits mailing list