# Contributor: Emanuele Sorce # Maintainer: Emanuele Sorce pkgname=sturmreader pkgver=3.7.0 pkgrel=0 pkgdesc="E-Book and comic reader for mobile devices" url="https://gitlab.com/tronfortytwo/sturmreader" arch="aarch64 armv7 x86 x86_64" # Limited by qt5-qtwebengine license="GPL-3.0-or-later" depends=" qt5-qtbase-sqlite qt5-qtquickcontrols qt5-qtsvg qt5-qtsystems " makedepends=" cmake gettext-dev poppler-qt5-dev qt5-qtdeclarative-dev qt5-qtlocation-dev qt5-qtquickcontrols2-dev qt5-qtsvg-dev qt5-qtwebchannel-dev qt5-qtwebengine-dev quazip-dev " subpackages="$pkgname-lang" source="https://gitlab.com/tronfortytwo/sturmreader/-/archive/$pkgver/sturmreader-$pkgver.tar.gz quazip.patch " # Sturm reader has no testing! Not even a --version thing options="!check" build() { CXXFLAGS="$CXXFLAGS -flto=auto" \ cmake -G Ninja -B build -Wno-dev \ -DCLICK_MODE=OFF \ -DCMAKE_BUILD_TYPE=MinSizeRel cmake --build build } package() { DESTDIR="$pkgdir" cmake --install build } sha512sums=" 4128d9f79614f83fc77692f4c0f83d6fb1fec30ab5baf208eaf757978db1ac4e204290bc0fd9420d1c09b0bd032b9a51edbe79b8fae61306ece52792a11d63bd sturmreader-3.7.0.tar.gz 4c89262dc1d1d19029342b80d99081cb75dfa4283aa882e1bafeaa3347b6943e9927b773819709af20457b90deb9e7728300078a9fec44681186ecd7222b1ee2 quazip.patch "