aboutsummaryrefslogblamecommitdiffstats
path: root/community/plasma-nano/APKBUILD
blob: 6cffbed3ed7f722a03d8e19f5e48efc93899b5ef (plain) (tree)
1
2
3
4
5
6
7
8
9


                                                  
             
        
                                                                      


                                      

                                                
                               
                                                                                                                          
                                                                                  


                           
                        
                                         

                                             
                           


         
                



                                          
                                                              
 
                                                                                                                                                                        
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=plasma-nano
pkgver=5.20.4
pkgrel=0
pkgdesc="A minimal Plasma shell package intended for embedded devices"
# armhf blocked by extra-cmake-modules
# s390x blocked by plasma-framework
arch="all !armhf !s390x"
url="https://invent.kde.org/kde/plasma-nano"
license="GPL-2.0-or-later AND LGPL-2.1-or-later"
depends="qt5-qtvirtualkeyboard"
makedepends="extra-cmake-modules qt5-qtbase-dev qt5-qtdeclarative-dev plasma-framework-dev kwindowsystem-dev kwayland-dev"
source="https://download.kde.org/stable/plasma/$pkgver/plasma-nano-$pkgver.tar.xz"
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="14379be5eb70c0464523b349336e6fdc38b6644e438d48f7d81933b58995ac61688df3c7fa5dd643077900b1b33afd8642061c0e85ed2f1cb4c5865574a52e69  plasma-nano-5.20.4.tar.xz"