aboutsummaryrefslogtreecommitdiffstats
path: root/community/kdegraphics-mobipocket/APKBUILD
blob: 8f7503745c87e6331dbfb411f9f2efb88f8b3f81 (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
31
32
33
34
35
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=kdegraphics-mobipocket
pkgver=20.12.2
pkgrel=0
pkgdesc="A collection of plugins to handle mobipocket files"
# armhf blocked by extra-cmake-modules
# s390x blocked by kio
arch="all !armhf !s390x !mips64"
url="https://www.kde.org/applications/graphics/"
license="GPL-2.0-or-later"
depends_dev="
	qt5-qtbase-dev
	kio-dev
	"
makedepends="$depends_dev
	extra-cmake-modules
	"
source="https://download.kde.org/stable/release-service/$pkgver/src/kdegraphics-mobipocket-$pkgver.tar.xz"
subpackages="$pkgname-dev"
options="!check" # No tests

build() {
	cmake -B build \
		-DCMAKE_BUILD_TYPE=None \
		-DCMAKE_INSTALL_PREFIX=/usr \
		-DCMAKE_INSTALL_LIBDIR=lib
	cmake --build build
}

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

sha512sums="67679874af0ef8bfafc64a538cc4784138f7a203b398b3b929c21881f150e2ad0ecfa317c96cb1e224ea635bdfcc8a5941d3cd01e8e446612ec658b39c9698df  kdegraphics-mobipocket-20.12.2.tar.xz"