summaryrefslogtreecommitdiff
path: root/libre/mcomix/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'libre/mcomix/PKGBUILD')
-rw-r--r--libre/mcomix/PKGBUILD15
1 files changed, 6 insertions, 9 deletions
diff --git a/libre/mcomix/PKGBUILD b/libre/mcomix/PKGBUILD
index 1729fe341..d360d184e 100644
--- a/libre/mcomix/PKGBUILD
+++ b/libre/mcomix/PKGBUILD
@@ -2,13 +2,14 @@
# Contributor (Arch): Ray Powell <ray_al@xphoniexx.net>
# Maintainer (Hyperbola): André Silva <emulatorman@hyperbola.info>
# Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe>
+# Contributor: bill-auger <bill-auger@programmer.net>
pkgname=mcomix
pkgver=1.3.0.dev0
-pkgrel=2
+pkgrel=3
pkgrel+=.parabola1
pkgdesc="A user-friendly, customizable image viewer specifically designed to handle comic books"
-pkgdesc+=", without nonfree libunrar support"
+pkgdesc+=", without non-free RAR support"
arch=('any')
url="https://github.com/multiSnow/mcomix3"
license=('GPL')
@@ -16,19 +17,17 @@ depends=('gtk3' 'python-cairo' 'python-gobject' 'python-pillow')
makedepends=('git')
optdepends=('mupdf-tools: for pdf comics'
'p7zip: for 7zip compressed comics')
-conflicts=('mcomix-libre')
-replaces=('mcomix-libre')
-_commit=2f82616f34154624c78fb6eca3bc0cc5cdef0cf3 # gtk3
+_commit=a95f08140fc8850890f283bc06e3e2615477d736 # HEAD as of 20200528.
source=("git+https://github.com/multiSnow/mcomix3.git#commit=$_commit"
'libre.patch')
sha256sums=('SKIP'
- '24f8302cc6d7b969c44883bb361137f59d13b21c959ed9c88918bc370c70351a')
+ '8566f979b4d56866074f22a44ee31f6904dac6ef802fa88413cedd82ee752721')
prepare() {
cd mcomix3
+
# Remove nonfree unRAR support
rm -v mcomix/mcomix/archive/rar{,_external}.py
- rm -v mime/icons/*/application-x-cbr.png
patch -Np1 -i ${srcdir}/libre.patch
}
@@ -43,7 +42,6 @@ package() {
install -Dm644 mime/mcomix.desktop "$pkgdir"/usr/share/applications/mcomix.desktop
install -Dm644 mime/mcomix.appdata.xml "$pkgdir"/usr/share/metainfo/mcomix.appdata.xml
- install -Dm644 mime/mcomix.xml "$pkgdir"/usr/share/mime/packages/mcomix.xml
install -Dm644 mime/comicthumb.thumbnailer "$pkgdir"/usr/share/thumbnailers/comicthumb.thumbnailer
for size in 16x16 22x22 24x24 32x32 48x48
@@ -52,7 +50,6 @@ package() {
install -Dm644 mcomix/mcomix/images/$size/mcomix.png "$pkgdir"/usr/share/icons/hicolor/$size/apps/mcomix.png
install -Dm644 mime/icons/$size/application-x-cb7.png "$pkgdir"/usr/share/icons/hicolor/$size/mimetypes/application-x-cb7.png
install -Dm644 mime/icons/$size/application-x-cbt.png "$pkgdir"/usr/share/icons/hicolor/$size/mimetypes/application-x-cbt.png
- install -Dm644 mime/icons/$size/application-x-cbz.png "$pkgdir"/usr/share/icons/hicolor/$size/mimetypes/application-x-cbz.png
done
install -Dm644 man/mcomix.1 "$pkgdir"/usr/share/man/man1/mcomix.1