aboutsummaryrefslogblamecommitdiffstats
path: root/community/kdialog/APKBUILD
blob: 99c4eff454fc3c6a84e36743df7101ca3db8ff9b (plain) (tree)
1
2
3
4
5
6
7
8
9
10


                                                  
              
        
                                                                                                              



                                                                                                                                                             
                                                                                           


                           
                        
                                         

                                             
                           


         
                



                                          
                                                              

 
                                                                                                                                                                     
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=kdialog
pkgver=20.12.1
pkgrel=0
arch="all !armhf !mips !mips64 !s390x" # armhf blocked by extra-cmake-modules, everything else blocked by rust
url="https://www.kde.org/"
pkgdesc="A utility for displaying dialog boxes from shell scripts"
license="GPL-2.0-or-later AND GFDL-1.2-only"
makedepends="extra-cmake-modules qt5-qtbase-dev ktextwidgets-dev knotifications-dev kguiaddons-dev kiconthemes-dev kwindowsystem-dev kio-dev kdbusaddons-dev"
source="https://download.kde.org/stable/release-service/$pkgver/src/kdialog-$pkgver.tar.xz"
subpackages="$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="1a361c6843199d820d549462c01463a36d93c25d1751fbbd69ea135f3225f0ce741b0434443a7678b69704e221e7d6901b326e80916cea2c910dcf7dc8d88b4e  kdialog-20.12.1.tar.xz"