lilac/repo/mcomix/PKGBUILD
2023-05-16 05:25:37 +00:00

35 lines
1.1 KiB
Bash

# 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.1
pkgrel=1
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=(
'lhasa: for lha compressed comics'
'libunrar: for rar compressed comics'
'mupdf-tools: for PDF comics'
'p7zip: for 7z compressed comics'
'unrar: for rar compressed comics'
'unzip: for zip compressed comics'
)
source=("https://downloads.sourceforge.net/project/${pkgname}/MComix-${pkgver}/${pkgname}-${pkgver}.tar.gz")
sha256sums=('3faa22ca77392c9496e686706193219c8d2435c213ed52ae69212e0def7060d5')
build(){
cd "${pkgname}-${pkgver}"
python -m build --wheel --no-isolation
}
package() {
cd "${pkgname}-${pkgver}"
python -m installer --destdir="$pkgdir" dist/*.whl
}