From 7d329ec7c8bae88864d1b5984d693ce0a8dfe58b Mon Sep 17 00:00:00 2001 From: André Fabian Silva Delgado Date: Tue, 1 Oct 2013 06:32:08 -0300 Subject: mcomix-libre-1.00-5: rename python-imaging to python2-pillow on depends --- libre/mcomix-libre/PKGBUILD | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'libre/mcomix-libre') 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 # Contributor: Ray Powell # Maintainer (Parabola): André Silva @@ -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 -- cgit v1.2.3