# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=kmenuedit pkgver=5.18.4 _pkgver=5.18.4.1 pkgrel=0 pkgdesc="KDE menu editor" arch="all !armhf" # armhf blocked by qt5-qtdeclarative url="https://www.kde.org/workspaces/plasmadesktop/" license="GPL-2.0-or-later" makedepends="extra-cmake-modules qt5-qtbase-dev ki18n-dev kxmlgui-dev kdbusaddons-dev kiconthemes-dev kio-dev kitemviews-dev sonnet-dev kdoctools-dev kglobalaccel-dev kinit-dev" source="https://download.kde.org/stable/plasma/$pkgver/kmenuedit-$_pkgver.tar.xz" subpackages="$pkgname-doc $pkgname-lang" builddir="$srcdir/$pkgname-$_pkgver" build() { cmake -B build \ -DCMAKE_BUILD_TYPE=None \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib make -C build } check() { cd build CTEST_OUTPUT_ON_FAILURE=TRUE ctest } package() { DESTDIR="$pkgdir" make -C build install } sha512sums="6a4e45a8c97de0badea82d70ec1085b3b34c06fd11723dd024263e966bbbbae5cfc4c42dfe217f79e59d84723c418f7146f0dee55ace0fbb77645714731f4a49 kmenuedit-5.18.4.1.tar.xz"