summaryrefslogtreecommitdiff
path: root/libre/mcomix-libre
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2013-10-01 06:32:08 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2013-10-01 06:32:08 -0300
commit7d329ec7c8bae88864d1b5984d693ce0a8dfe58b (patch)
tree43377c066c5a23ead9be07aa89383ba89c679cfc /libre/mcomix-libre
parentbf3830843890113d1556d4f61fc67495b828a00c (diff)
downloadabslibre-7d329ec7c8bae88864d1b5984d693ce0a8dfe58b.tar.gz
abslibre-7d329ec7c8bae88864d1b5984d693ce0a8dfe58b.tar.bz2
abslibre-7d329ec7c8bae88864d1b5984d693ce0a8dfe58b.zip
mcomix-libre-1.00-5: rename python-imaging to python2-pillow on depends
Diffstat (limited to 'libre/mcomix-libre')
-rw-r--r--libre/mcomix-libre/PKGBUILD9
1 files changed, 6 insertions, 3 deletions
diff --git a/libre/mcomix-libre/PKGBUILD b/libre/mcomix-libre/PKGBUILD
index 97e796231..77baf60bc 100644
--- a/libre/mcomix-libre/PKGBUILD
+++ b/libre/mcomix-libre/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 95818 2013-08-17 10:12:09Z schuay $
+# $Id: PKGBUILD 97188 2013-09-15 08:42:21Z schuay $
# Maintainer: schuay <jakob.gruber@gmail.com>
# Contributor: Ray Powell <ray_al@xphoniexx.net>
# Maintainer (Parabola): André Silva <emulatorman@lavabit.com>
@@ -6,12 +6,12 @@
_pkgname=mcomix
pkgname=mcomix-libre
pkgver=1.00
-pkgrel=4
+pkgrel=5
pkgdesc="A user-friendly, customizable image viewer specifically designed to handle comic books, with unar recommendation"
arch=('any')
url="http://sourceforge.net/projects/mcomix/"
license=('GPL')
-depends=('pygtk' 'python-imaging' 'xdg-utils' 'python2' \
+depends=('pygtk' 'python2-pillow' 'xdg-utils' 'python2' \
'desktop-file-utils' 'hicolor-icon-theme' 'python2-setuptools')
makedepends=('gettext' 'intltool')
optdepends=('unar: for rar compressed comics')
@@ -24,6 +24,9 @@ source=("http://downloads.sourceforge.net/project/mcomix/MComix-${pkgver}/mcomix
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