# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=kimagemapeditor pkgver=20.08.2 pkgrel=0 # armhf blocked by extra-cmake-modules # mips, ppc64le and s390x blocked by qt5-qtwebengine arch="all !ppc64le !s390x !armhf !mips !mips64" url="https://kde.org/applications/development/org.kde.kimagemapeditor" pkgdesc="An editor of image maps embedded inside HTML files, based on the tag" license="GPL-2.0-or-later" makedepends="extra-cmake-modules qt5-qtbase-dev qt5-qtwebengine-dev kconfig-dev kconfigwidgets-dev kcoreaddons-dev kcrash-dev kdbusaddons-dev kdoctools-dev kguiaddons-dev kiconthemes-dev khtml-dev kparts-dev ki18n-dev kwidgetsaddons-dev kxmlgui-dev" source="https://download.kde.org/stable/release-service/$pkgver/src/kimagemapeditor-$pkgver.tar.xz" subpackages="$pkgname-doc $pkgname-lang" options="!check" # No tests build() { cmake -B build \ -DCMAKE_BUILD_TYPE=None \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib cmake --build build } check() { cd build CTEST_OUTPUT_ON_FAILURE=TRUE ctest } package() { DESTDIR="$pkgdir" cmake --build build --target install } sha512sums="530dfe77525eae8f619d1e09841912a8487489fd3053c659a6b14245d2813c7cf763324e9a6394064440d3fd1d3252e71a7e212c11cf556009a2d12928b45d4e kimagemapeditor-20.08.2.tar.xz"