[arch-commits] Commit in mcomix/repos/community-any (4 files)

Jakob Gruber schuay at nymeria.archlinux.org
Sat Feb 16 14:27:57 UTC 2013


    Date: Saturday, February 16, 2013 @ 15:27:57
  Author: schuay
Revision: 84322

archrelease: copy trunk to community-any

Added:
  mcomix/repos/community-any/PKGBUILD
    (from rev 84321, mcomix/trunk/PKGBUILD)
  mcomix/repos/community-any/mcomix.install
    (from rev 84321, mcomix/trunk/mcomix.install)
Deleted:
  mcomix/repos/community-any/PKGBUILD
  mcomix/repos/community-any/mcomix.install

----------------+
 PKGBUILD       |   89 +++++++++++++++++++++++++++----------------------------
 mcomix.install |   64 +++++++++++++++++++--------------------
 2 files changed, 77 insertions(+), 76 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2013-02-16 14:27:47 UTC (rev 84321)
+++ PKGBUILD	2013-02-16 14:27:57 UTC (rev 84322)
@@ -1,44 +0,0 @@
-# $Id$
-# Maintainer: schuay <jakob.gruber at gmail.com>
-# Contributor: Ray Powell <ray_al at xphoniexx.net>
-
-pkgname=mcomix
-pkgver=0.99
-pkgrel=1
-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')
-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() {
-  cd ${srcdir}/${pkgname}-${pkgver}
-
-  # python2 fix
-  for file in $(grep -Rl "/usr/bin/env python" .);
-  do
-    sed -i 's_#!/usr/bin/env python_#!/usr/bin/env python2_' $file
-  done
-}
-
-package() {
-  cd ${srcdir}/${pkgname}-${pkgver}
-
-  export PYTHONPATH=${pkgdir}/usr/lib/python2.7/site-packages/
-  mkdir -p $PYTHONPATH
-
-  python2 setup.py install --prefix=${pkgdir}/usr --optimize=1 \
-    --single-version-externally-managed --root=/
-
-  install -Dm644 mime/comicbook.schemas \
-    ${pkgdir}/usr/share/gconf/schemas/mcomix.schemas
-}
-
-md5sums=('a1ff7e1955042069d5005b4034e7a914')

Copied: mcomix/repos/community-any/PKGBUILD (from rev 84321, mcomix/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2013-02-16 14:27:57 UTC (rev 84322)
@@ -0,0 +1,45 @@
+# $Id$
+# Maintainer: schuay <jakob.gruber at gmail.com>
+# Contributor: Ray Powell <ray_al at xphoniexx.net>
+
+pkgname=mcomix
+pkgver=0.99
+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')
+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() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+
+  # python2 fix
+  for file in $(grep -Rl "/usr/bin/env python" .);
+  do
+    sed -i 's_#!/usr/bin/env python_#!/usr/bin/env python2_' $file
+  done
+}
+
+package() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+
+  export PYTHONPATH=${pkgdir}/usr/lib/python2.7/site-packages/
+  mkdir -p $PYTHONPATH
+
+  python2 setup.py install --prefix=/usr --optimize=1 \
+    --single-version-externally-managed --root=${pkgdir}
+
+  install -Dm755 mime/comicthumb ${pkgdir}/usr/bin/comicthumb
+  install -Dm644 mime/comicthumb.1.gz ${pkgdir}/usr/share/man/man1/comicthumb.1.gz
+  install -Dm644 mime/comicbook.schemas ${pkgdir}/usr/share/gconf/schemas/mcomix.schemas
+}
+
+md5sums=('a1ff7e1955042069d5005b4034e7a914')

Deleted: mcomix.install
===================================================================
--- mcomix.install	2013-02-16 14:27:47 UTC (rev 84321)
+++ mcomix.install	2013-02-16 14:27:57 UTC (rev 84322)
@@ -1,32 +0,0 @@
-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
-  update-desktop-database -q
-}
-
-pre_upgrade() {
-  pre_remove $1
-}
-
-post_upgrade() {
-  post_install $1
-}
-
-pre_remove() {
-  if [ -f usr/sbin/gconfpkg ]; then
-      usr/sbin/gconfpkg --uninstall ${pkgname}
-  fi
-}
-
-post_remove() {
-  if [ -f usr/bin/xdg-icon-resource ]; then
-      xdg-icon-resource forceupdate
-  fi
-  update-desktop-database -q
-}

Copied: mcomix/repos/community-any/mcomix.install (from rev 84321, mcomix/trunk/mcomix.install)
===================================================================
--- mcomix.install	                        (rev 0)
+++ mcomix.install	2013-02-16 14:27:57 UTC (rev 84322)
@@ -0,0 +1,32 @@
+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
+  update-desktop-database -q
+}
+
+pre_upgrade() {
+  pre_remove $1
+}
+
+post_upgrade() {
+  post_install $1
+}
+
+pre_remove() {
+  if [ -f usr/sbin/gconfpkg ]; then
+      usr/sbin/gconfpkg --uninstall ${pkgname}
+  fi
+}
+
+post_remove() {
+  if [ -f usr/bin/xdg-icon-resource ]; then
+      xdg-icon-resource forceupdate
+  fi
+  update-desktop-database -q
+}




More information about the arch-commits mailing list