summaryrefslogtreecommitdiff
path: root/libre/mcomix
diff options
context:
space:
mode:
Diffstat (limited to 'libre/mcomix')
-rw-r--r--libre/mcomix/PKGBUILD23
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'