aboutsummaryrefslogblamecommitdiffstats
path: root/community/kdegraphics-mobipocket/APKBUILD
blob: 669a6ec922cd54001bdd13815ee145e9d11277eb (plain) (tree)
1
2
3
4
5
6
7
8
9


                                                  
              

                                                            

                                      
                                

                                                






                           















                                                                                                          
                                                                                                                                                                                    
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=kdegraphics-mobipocket
pkgver=20.12.1
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="d3a802292ac5d2599e38784270b95c9b4ac3aee26759f9cb15c2a946dd6abae5854dff7beffa0fabdb8041233a79a2473e3ac709a9dc5b3dbbd6bea220a18a57  kdegraphics-mobipocket-20.12.1.tar.xz"