[arch-commits] Commit in mcomix/repos/community-any (4 files)
Jakob Gruber
schuay at archlinux.org
Sun Jan 31 09:14:06 UTC 2016
Date: Sunday, January 31, 2016 @ 10:14:06
Author: schuay
Revision: 159678
archrelease: copy trunk to community-any
Added:
mcomix/repos/community-any/PKGBUILD
(from rev 159677, mcomix/trunk/PKGBUILD)
mcomix/repos/community-any/mcomix.install
(from rev 159677, mcomix/trunk/mcomix.install)
Deleted:
mcomix/repos/community-any/PKGBUILD
mcomix/repos/community-any/mcomix.install
----------------+
PKGBUILD | 96 +++++++++++++++++++++++++++----------------------------
mcomix.install | 62 +++++++++++++++++------------------
2 files changed, 79 insertions(+), 79 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2016-01-31 09:13:54 UTC (rev 159677)
+++ PKGBUILD 2016-01-31 09:14:06 UTC (rev 159678)
@@ -1,48 +0,0 @@
-# $Id$
-# Maintainer: schuay <jakob.gruber at gmail.com>
-# Contributor: Ray Powell <ray_al at xphoniexx.net>
-
-pkgname=mcomix
-pkgver=1.01
-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' 'python2-pillow' 'xdg-utils' 'python2' \
- 'desktop-file-utils' 'hicolor-icon-theme' 'python2-setuptools')
-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}
-
- # https://www.archlinux.org/todo/replace-pil-with-pillow/
- sed -i 's/import Image/from PIL import Image/' mime/comicthumb
-
- # 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=('c2837c3baf226798246db834d22d1de8')
Copied: mcomix/repos/community-any/PKGBUILD (from rev 159677, mcomix/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2016-01-31 09:14:06 UTC (rev 159678)
@@ -0,0 +1,48 @@
+# $Id$
+# Maintainer: schuay <jakob.gruber at gmail.com>
+# Contributor: Ray Powell <ray_al at xphoniexx.net>
+
+pkgname=mcomix
+pkgver=1.2
+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' 'python2-pillow' 'xdg-utils' 'python2' \
+ 'desktop-file-utils' 'hicolor-icon-theme' 'python2-setuptools')
+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}
+
+ # https://www.archlinux.org/todo/replace-pil-with-pillow/
+ sed -i 's/import Image/from PIL import Image/' mime/comicthumb
+
+ # 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=('c879c6eb5888a80781b87c10c5de826c')
Deleted: mcomix.install
===================================================================
--- mcomix.install 2016-01-31 09:13:54 UTC (rev 159677)
+++ mcomix.install 2016-01-31 09:14:06 UTC (rev 159678)
@@ -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
-}
Copied: mcomix/repos/community-any/mcomix.install (from rev 159677, mcomix/trunk/mcomix.install)
===================================================================
--- mcomix.install (rev 0)
+++ mcomix.install 2016-01-31 09:14:06 UTC (rev 159678)
@@ -0,0 +1,31 @@
+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