# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=kmenuedit pkgver=5.27.6 pkgrel=0 pkgdesc="KDE menu editor" # armhf blocked by qt5-qtdeclarative arch="all !armhf" url="https://kde.org/plasma-desktop/" license="GPL-2.0-or-later" makedepends=" extra-cmake-modules kdbusaddons-dev kdoctools-dev kglobalaccel-dev ki18n-dev kiconthemes-dev kinit-dev kio-dev kitemviews-dev kxmlgui-dev qt5-qtbase-dev samurai sonnet-dev " case "$pkgver" in *.90*) _rel=unstable;; *) _rel=stable;; esac source="https://download.kde.org/$_rel/plasma/$pkgver/kmenuedit-$pkgver.tar.xz" subpackages="$pkgname-doc $pkgname-lang" build() { cmake -B build -G Ninja \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib cmake --build build } check() { cd build CTEST_OUTPUT_ON_FAILURE=TRUE ctest } package() { DESTDIR="$pkgdir" cmake --install build } sha512sums=" e896fc8d293a4874861b72d10904bbc65e33a99aa81884aba3a1783597dd5edf292082f5e99b3065f16280d0b2519eb4be7b9c212ab05ab362c11317d5f16889 kmenuedit-5.27.6.tar.xz "