makedeb
A user-friendly, customizable image viewer specifically designed to handle comic books
Click here to go back to the commit logs for mcomix.
Hash: fb4d7d4ab1bc970b6cdb8fa5cdbd679e6c1d6914
Message: Initial mpr release
diff --git a/.SRCINFO b/.SRCINFO
index 5d0cb1a..b8a64fe 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,25 +1,37 @@
-pkgbase = mcomix
- pkgdesc = A user-friendly, customizable image viewer specifically designed to handle comic books
- pkgver = 2.0.2
- pkgrel = 1
- url = https://sourceforge.net/p/mcomix/wiki/Home/
- arch = any
- license = GPL
- makedepends = python-build
- makedepends = python-installer
- makedepends = python-setuptools
- makedepends = python-wheel
- depends = gtk3
- depends = python-cairo
- depends = python-gobject
- depends = python-pillow
- optdepends = libunrar: for rar compressed comics
- optdepends = p7zip: for 7z compressed comics
- optdepends = unrar: for rar compressed comics
- optdepends = unzip: for zip compressed comics
- optdepends = lhasa: for lha compressed comics
- optdepends = mupdf-tools: for PDF comics
- source = https://downloads.sourceforge.net/project/mcomix/MComix-2.0.2/mcomix-2.0.2.tar.gz
- md5sums = 43c1b65fc21168ac8c7eaee71ee79c1b
-
+generated-by = makedeb
pkgname = mcomix
+pkgbase = mcomix
+pkgdesc = A user-friendly, customizable image viewer specifically designed to handle comic books
+pkgrel = 0
+pkgver = 2.0.2
+url = https://sourceforge.net/p/mcomix/wiki/Home/
+arch = all
+depends = python3
+depends = gir1.2-gtk-3.0
+depends = python3-pil
+depends = python3-gi
+depends = python3-cairo
+depends = python3-gi-cairo
+license = GPL
+makedepends = python3-setuptools
+makedepends = python3-build
+makedepends = python3-wheel
+optdepends = libunrar5: for rar compressed comics
+optdepends = p7zip: for 7z compressed comics
+optdepends = unrar: for rar compressed comics
+optdepends = unzip: for zip compressed comics
+optdepends = lhasa: for lha compressed comics
+optdepends = mupdf-tools: for PDF comics
+optdepends = python3-chardet: character encoding detection
+source = https://downloads.sourceforge.net/project/mcomix/MComix-2.0.2/mcomix-2.0.2.tar.gz
+b2sums = 3f7b7a0788622173049169034a0a8ed3d3d5fb64fd32e10f4cb3f5b1a4815dee29a1a1b576798bddaeb41534ab66cb301825ddcd39b0b01252e1bbe37e0384b9
+makedepends = python3-setuptools
+makedepends = python3-build
+makedepends = python3-wheel
+optdepends = libunrar5: for rar compressed comics
+optdepends = p7zip: for 7z compressed comics
+optdepends = unrar: for rar compressed comics
+optdepends = unzip: for zip compressed comics
+optdepends = lhasa: for lha compressed comics
+optdepends = mupdf-tools: for PDF comics
+optdepends = python3-chardet: character encoding detection
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..3755378
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,3 @@
+mcomix*
+pkg
+src
diff --git a/PKGBUILD b/PKGBUILD
index 2efe7b2..2d3c264 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,32 +1,37 @@
-# Maintainer: schuay <jakob.gruber@gmail.com>
-# Contributor: Ray Powell <ray_al@xphoniexx.net>
-
+# Maintainer: exponential <echo ZXhwb25lbnRpYWxtYXRyaXhAcHJvdG9ubWFpbC5jb20K | base64 -d>
+# Contributor: schuay (AUR) <jakob.gruber@gmail.com>
+# Contributor: Ray Powell (AUR) <ray_al@xphoniexx.net>
pkgname=mcomix
-# Might want to move to date-based versions.
pkgver=2.0.2
-pkgrel=1
+pkgrel=0
pkgdesc="A user-friendly, customizable image viewer specifically designed to handle comic books"
-arch=('any')
+arch=('all')
url="https://sourceforge.net/p/mcomix/wiki/Home/"
license=('GPL')
-depends=('gtk3' 'python-cairo' 'python-gobject' 'python-pillow')
-makedepends=('python-build' 'python-installer' 'python-setuptools' 'python-wheel')
-optdepends=('libunrar: for rar compressed comics'
+depends=('python3' 'gir1.2-gtk-3.0' 'python3-pil' 'python3-gi' 'python3-cairo' 'python3-gi-cairo')
+makedepends=('python3-setuptools' 'python3-build' 'python3-wheel')
+optdepends=('libunrar5: for rar compressed comics'
'p7zip: for 7z compressed comics'
'unrar: for rar compressed comics'
'unzip: for zip compressed comics'
'lhasa: for lha compressed comics'
- 'mupdf-tools: for PDF comics')
+ 'mupdf-tools: for PDF comics'
+ 'python3-chardet: character encoding detection')
source=("https://downloads.sourceforge.net/project/${pkgname}/MComix-${pkgver}/${pkgname}-${pkgver}.tar.gz")
-md5sums=('43c1b65fc21168ac8c7eaee71ee79c1b')
+b2sums=('3f7b7a0788622173049169034a0a8ed3d3d5fb64fd32e10f4cb3f5b1a4815dee29a1a1b576798bddaeb41534ab66cb301825ddcd39b0b01252e1bbe37e0384b9')
build(){
cd "${pkgname}-${pkgver}"
- python -m build --wheel --no-isolation
+ python3 -m build --wheel --no-isolation
}
package() {
cd "${pkgname}-${pkgver}"
+ python3 -m setup install --root "$pkgdir" --optimize=1 --skip-build --install-layout deb
- python -m installer --destdir="$pkgdir" dist/*.whl
+ install -m644 -d "usr/share/doc/$pkgname"
+ install -Dm644 "COPYING" "$pkgdir/usr/share/doc/$pkgname/license"
+ install -Dm644 "README" "$pkgdir/usr/share/doc/$pkgname/readme"
+ install -Dm644 "ChangeLog" "$pkgdir/usr/share/doc/$pkgname/changelog"
+ gzip "$pkgdir/usr/share/doc/$pkgname/changelog"
}