diff options
author | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2016-05-06 00:18:06 -0300 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2016-05-06 00:18:06 -0300 |
commit | e9531a765285fdce954927e3878d3c2ccf5e26dd (patch) | |
tree | bc6c8450ae848664142632f142233c88ae5e4131 /libre | |
parent | 93be76342c1611994f207fef5ad7ab3bd1a22570 (diff) | |
download | abslibre-e9531a765285fdce954927e3878d3c2ccf5e26dd.tar.gz abslibre-e9531a765285fdce954927e3878d3c2ccf5e26dd.tar.bz2 abslibre-e9531a765285fdce954927e3878d3c2ccf5e26dd.zip |
mcomix-1.2.1-3.parabola1: add mupdf-tools and p7zip to optdepends
Diffstat (limited to 'libre')
-rw-r--r-- | libre/mcomix/PKGBUILD | 23 |
1 files changed, 6 insertions, 17 deletions
diff --git a/libre/mcomix/PKGBUILD b/libre/mcomix/PKGBUILD index 661997d6f..328c59ae1 100644 --- a/libre/mcomix/PKGBUILD +++ b/libre/mcomix/PKGBUILD @@ -1,18 +1,20 @@ -# $Id: PKGBUILD 173581 2016-05-03 17:13:39Z schuay $ +# $Id: PKGBUILD 173821 2016-05-05 09:43:03Z schuay $ # Maintainer (Arch): schuay <jakob.gruber@gmail.com> # Contributor (Arch): Ray Powell <ray_al@xphoniexx.net> # Maintainer: André Silva <emulatorman@parabola.nu> pkgname=mcomix pkgver=1.2.1 -pkgrel=2.parabola1 -pkgdesc="A user-friendly, customizable image viewer specifically designed to handle comic books, without nonfree unrar support" +pkgrel=3.parabola1 +pkgdesc="A user-friendly, customizable image viewer specifically designed to handle comic books, without nonfree libunrar support" 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=('mupdf-tools: for pdf comics' + 'p7zip: for 7zip compressed comics') conflicts=('comix' 'mcomix-libre') replaces=('comix' 'mcomix-libre') source=("http://downloads.sourceforge.net/project/mcomix/MComix-${pkgver}/mcomix-${pkgver}.tar.bz2" @@ -27,19 +29,6 @@ prepare() { patch -Np1 -i ${srcdir}/libre.patch } -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} @@ -51,7 +40,7 @@ package() { 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 + install -Dm644 mime/comicthumb.thumbnailer ${pkgdir}/usr/share/thumbnailers/comicthumb.thumbnailer } md5sums=('1d05ed7596bd670e5b3a97896e6d4d47' |