2023-05-15 10:56:30 +00:00
|
|
|
# Maintainer: schuay <jakob.gruber@gmail.com>
|
|
|
|
# Contributor: Ray Powell <ray_al@xphoniexx.net>
|
|
|
|
|
|
|
|
pkgname=mcomix
|
|
|
|
# Might want to move to date-based versions.
|
2023-07-12 20:01:07 +00:00
|
|
|
pkgver=2.2.1
|
2023-07-12 07:01:15 +00:00
|
|
|
pkgrel=1
|
2023-05-15 10:56:30 +00:00
|
|
|
pkgdesc="A user-friendly, customizable image viewer specifically designed to handle comic books"
|
|
|
|
arch=('any')
|
|
|
|
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')
|
2023-05-16 05:25:37 +00:00
|
|
|
optdepends=(
|
|
|
|
'lhasa: for lha compressed comics'
|
|
|
|
'libunrar: for rar compressed comics'
|
|
|
|
'p7zip: for 7z compressed comics'
|
2023-07-12 07:01:15 +00:00
|
|
|
'python-pymupdf: for PDF comics'
|
2023-05-16 05:25:37 +00:00
|
|
|
'unrar: for rar compressed comics'
|
|
|
|
'unzip: for zip compressed comics'
|
|
|
|
)
|
2023-07-03 19:01:10 +00:00
|
|
|
source=(
|
|
|
|
"https://downloads.sourceforge.net/project/${pkgname}/MComix-${pkgver}/${pkgname}-${pkgver}.tar.gz"
|
|
|
|
)
|
2023-07-12 20:01:07 +00:00
|
|
|
sha256sums=('7e69e53e134237a611de55b660230401b1225958a071f143ab5b434357933640')
|
2023-07-03 19:01:10 +00:00
|
|
|
|
|
|
|
build() {
|
2023-05-15 10:56:30 +00:00
|
|
|
cd "${pkgname}-${pkgver}"
|
|
|
|
python -m build --wheel --no-isolation
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd "${pkgname}-${pkgver}"
|
|
|
|
python -m installer --destdir="$pkgdir" dist/*.whl
|
|
|
|
}
|