aboutsummaryrefslogblamecommitdiffstats
path: root/community/kmenuedit/APKBUILD
blob: c694fd777a6f9e44adf7b0d132c9dfcc46ba7add (plain) (tree)
1
2
3
4
5
6
7
8
9


                                                  
             

                         
                                    

                                                                        


                                                                                                                                                                                 
                                                                                
                                        





                                             
                           







                                          
                                                              

 
                                                                                                                                                                      
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=kmenuedit
pkgver=5.20.4
pkgrel=0
pkgdesc="KDE menu editor"
# armhf blocked by qt5-qtdeclarative
# s390x and mips64 blocked by polkit (blocked by mozjs, blocked by rust)
arch="all !armhf !s390x !mips64"
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"

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="69c7f6cd557bd81063ba5c47f4b1e5361bcafa6a57a181b3004ea431125adb47d7c351f5e970d6917a0c21211b2948aac388fbdabcd61377b5fd8ee92c7d8ce7  kmenuedit-5.20.4.tar.xz"