diff options
author | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2014-09-04 23:47:34 -0300 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2014-09-04 23:47:34 -0300 |
commit | 730ac1fa5bef1ab3ecf8469a5b5913f0274dce8f (patch) | |
tree | 3f03f5d3af88a585d78e1c7aaa9cc775ddc493b7 | |
parent | ac32971510e741448296a2f7acfc59709d92fad9 (diff) |
mcomix: remove libre suffix and add complex pkgrel
-rw-r--r-- | libre/mcomix/PKGBUILD (renamed from libre/mcomix-libre/PKGBUILD) | 16 | ||||
-rw-r--r-- | libre/mcomix/libre.patch (renamed from libre/mcomix-libre/libre.patch) | 0 | ||||
-rw-r--r-- | libre/mcomix/mcomix.install (renamed from libre/mcomix-libre/mcomix.install) | 0 | ||||
-rw-r--r-- | libre/mcomix/zoom.patch (renamed from libre/mcomix-libre/zoom.patch) | 0 |
4 files changed, 7 insertions, 9 deletions
diff --git a/libre/mcomix-libre/PKGBUILD b/libre/mcomix/PKGBUILD index c512a26cd..3727242e8 100644 --- a/libre/mcomix-libre/PKGBUILD +++ b/libre/mcomix/PKGBUILD @@ -3,10 +3,9 @@ # Contributor (Arch): Ray Powell <ray_al@xphoniexx.net> # Maintainer: André Silva <emulatorman@parabola.nu> -_pkgname=mcomix -pkgname=mcomix-libre +pkgname=mcomix pkgver=1.00 -pkgrel=6.2 +pkgrel=6.parabola1 pkgdesc="A user-friendly, customizable image viewer specifically designed to handle comic books, without nonfree unrar support" arch=('any') url="http://sourceforge.net/projects/mcomix/" @@ -14,16 +13,15 @@ license=('GPL') depends=('pygtk' 'python2-pillow' 'xdg-utils' 'python2' \ 'desktop-file-utils' 'hicolor-icon-theme' 'python2-setuptools') makedepends=('gettext' 'intltool') -conflicts=('mcomix' 'comix') -replaces=('mcomix' 'comix') -provides=("mcomix=${pkgver}") +conflicts=('comix' 'mcomix-libre') +replaces=('comix' 'mcomix-libre') install='mcomix.install' source=("http://downloads.sourceforge.net/project/mcomix/MComix-${pkgver}/mcomix-${pkgver}.tar.bz2" 'zoom.patch' 'libre.patch') prepare() { - cd ${srcdir}/${_pkgname}-${pkgver} + cd ${srcdir}/${pkgname}-${pkgver} # Remove nonfree unRAR support rm -v mcomix/archive/rar{,file}.py @@ -32,7 +30,7 @@ prepare() { } build() { - cd ${srcdir}/${_pkgname}-${pkgver} + cd ${srcdir}/${pkgname}-${pkgver} # https://www.archlinux.org/todo/replace-pil-with-pillow/ sed -i 's/import Image/from PIL import Image/' mime/comicthumb @@ -49,7 +47,7 @@ build() { } package() { - cd ${srcdir}/${_pkgname}-${pkgver} + cd ${srcdir}/${pkgname}-${pkgver} export PYTHONPATH=${pkgdir}/usr/lib/python2.7/site-packages/ mkdir -p $PYTHONPATH diff --git a/libre/mcomix-libre/libre.patch b/libre/mcomix/libre.patch index e3f12f703..e3f12f703 100644 --- a/libre/mcomix-libre/libre.patch +++ b/libre/mcomix/libre.patch diff --git a/libre/mcomix-libre/mcomix.install b/libre/mcomix/mcomix.install index 82047a202..82047a202 100644 --- a/libre/mcomix-libre/mcomix.install +++ b/libre/mcomix/mcomix.install diff --git a/libre/mcomix-libre/zoom.patch b/libre/mcomix/zoom.patch index 26dc3ba6f..26dc3ba6f 100644 --- a/libre/mcomix-libre/zoom.patch +++ b/libre/mcomix/zoom.patch |