mcomix: auto updated to 2.1.0-3

This commit is contained in:
Lilac 2023-05-15 10:56:30 +00:00
parent b7a337b75a
commit 179bee43aa

32
repo/mcomix/PKGBUILD Normal file
View file

@ -0,0 +1,32 @@
# Maintainer: schuay <jakob.gruber@gmail.com>
# Contributor: Ray Powell <ray_al@xphoniexx.net>
pkgname=mcomix
# Might want to move to date-based versions.
pkgver=2.1.0
pkgrel=3
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')
optdepends=('libunrar: 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')
source=("https://downloads.sourceforge.net/project/${pkgname}/MComix-${pkgver}/${pkgname}-${pkgver}.tar.gz")
sha256sums=('368938a2a4deccef38abd20366f822df765e29f44bfada60ed01039a9d996695')
build(){
cd "${pkgname}-${pkgver}"
python -m build --wheel --no-isolation
}
package() {
cd "${pkgname}-${pkgver}"
python -m installer --destdir="$pkgdir" dist/*.whl
}