-
Notifications
You must be signed in to change notification settings - Fork 0
/
PKGBUILD
33 lines (30 loc) · 1.37 KB
/
PKGBUILD
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
# Maintainer: Daniel Zanco <dangpzanco at gmail dot com>
# Contributors:
# Felix Kauselmann <licorn at gmail dot com>
# Fabio 'Lolix' Loli <[email protected]> -> https://github.com/FabioLolix
pkgname=yacreader-full
pkgver=9.14.2
pkgrel=1
pkgdesc="Comic reader for cross-platform reading and managing your digital comic collection. Complete set of features: Poppler (better PDF support); libarchive (better archive support: tar, 7z, zip, rar, zstd); headless server."
arch=(x86_64)
url="https://www.yacreader.com/"
license=(GPL3)
# depends=(poppler-qt5 qt5-base qt5-multimedia qt5-quickcontrols2 qt5-graphicaleffects qt5-svg libarchive)
depends=(poppler-qt6 qt6-base qt6-multimedia qt6-quickcontrols2 qt6-5compat libarchive
glibc libglvnd gcc-libs hicolor-icon-theme)
makedepends=(git qt6-tools qt6-svg)
optdepends=('qt5-imageformats: Support for extra image formats'
'qrencode: YACReaderLibrary server info qr codes')
provides=(yacreader yacreaderlibraryserver)
conflicts=(yacreader)
source=("git+https://github.com/YACReader/yacreader.git#tag=${pkgver}")
sha256sums=('SKIP')
build() {
cd "${srcdir}/yacreader"
qmake-qt5 CONFIG+="poppler libarchive server_standalone"
make
}
package() {
cd "${srcdir}/yacreader"
make INSTALL_ROOT="$pkgdir" sub-YACReader-install_subtargets sub-YACReaderLibrary-install_subtargets sub-YACReaderLibraryServer-install_subtargets
}