aboutsummaryrefslogtreecommitdiffstats
path: root/testing/sturmreader/APKBUILD
blob: 86f7216567dd3ef75349657e732793a9f775eeff (plain) (blame)
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
# Contributor: Emanuele Sorce <emanuele.sorce@hotmail.com>
# Maintainer: Emanuele Sorce <emanuele.sorce@hotmail.com>
pkgname=sturmreader
pkgver=3.3.3
pkgrel=0
pkgdesc="E-Book reader for mobile devices"
url="https://github.com/tronfortytwo/sturmreader"
arch="all !ppc64le !s390x !armhf !mips !mips64" # Limited by qt5-qtwebengine
license="GPL-3.0-or-later"
depends="qt5-qtsvg qt5-qtbase-sqlite qt5-qtwebengine qt5-qtquickcontrols
	podofo"
makedepends="cmake qt5-qtdeclarative-dev qt5-qtquickcontrols2-dev qt5-qtsvg-dev
	qt5-qtlocation-dev qt5-qtwebengine-dev poppler-qt5-dev quazip-dev
	gettext-dev libintl"
subpackages="$pkgname-lang"
source="https://github.com/tronfortytwo/sturmreader/archive/$pkgver/sturmreader-$pkgver.tar.gz"

# Sturm reader has no testing! Not even a --version thing
options="!check"

build() {
	cmake -DCLICK_MODE=OFF . -B build
	cmake --build build
}

package() {
	DESTDIR="$pkgdir" cmake --install build
}

sha512sums="46bfe2e3e28df870f8234267f72d333ea660928f2998f7ff4165cfaa52ac4d20d5480faf840418e10222cae865533b868f2d00111e12955a1743cf8c998ce565  sturmreader-3.3.3.tar.gz"