blob: aa1331da9b44f8d6b3b1975fe58d5d3f480f081d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
# Maintainer: schuay <jakob.gruber@gmail.com>
# Contributor: Ray Powell <ray_al@xphoniexx.net>
pkgname=mcomix
pkgver=3.1.0
pkgrel=1
pkgdesc="GTK comic book viewer"
arch=('any')
url="https://sourceforge.net/p/mcomix/wiki/Home/"
license=('GPL-2.0-or-later')
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'
'p7zip: for 7z compressed comics'
'python-chardet: for guessing filename encodings in archives'
'python-pymupdf: for PDF 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=('f9286eba7ffbc3ce9528135a9939823c425f3bbe9f74a639f8706fcc28b4c427')
build() {
cd "${pkgname}-${pkgver}"
python -m build --wheel --no-isolation
}
package() {
cd "${pkgname}-${pkgver}"
python -m installer --destdir="$pkgdir" dist/*.whl
# application meta files are no longer copied automatically by the installation process
cp -a share "$pkgdir/usr"
}
|