aboutsummaryrefslogblamecommitdiffstats
path: root/community/kirigami-addons/APKBUILD
blob: b91d21c817d1042cbd0a33027399a7b375fcba8a (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13


                                                  
          
        







                                                      
                     

                                
                                                                                                 















                                             
                                               

 


                                                                                                                                                            
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=kirigami-addons
pkgver=0.2
pkgrel=0
pkgdesc="Add-ons for the Kirigami framework"
url="https://invent.kde.org/libraries/kirigami-addons"
arch="all !armhf" # armhf blocked by qt5-qtdeclarative
license="LGPL-2.0-or-later AND GPL-2.0-or-later"
depends="kirigami2"
makedepends="
	extra-cmake-modules
	ki18n-dev
	kirigami2-dev
	qt5-qtquickcontrols2-dev
	"
source="https://download.kde.org/unstable/kirigami-addons/$pkgver/kirigami-addons-$pkgver.tar.xz"

build() {
	cmake -B build \
		-DCMAKE_BUILD_TYPE=None \
		-DCMAKE_INSTALL_PREFIX=/usr \
		-DCMAKE_INSTALL_LIBDIR=lib \
		-DBUILD_QCH=ON
	cmake --build build
}

check() {
	cd build
	CTEST_OUTPUT_ON_FAILURE=TRUE ctest
}

package() {
	DESTDIR="$pkgdir" cmake --install build
}

sha512sums="
6eeb02b2f4058413520399cce49fd5eb63e0191d016c02be363f42690be2cd3ebf0093b7f8ec13da9930f715d50b56ea04d082fac8e9a88acacc0a3d19b42fc3  kirigami-addons-0.2.tar.xz
"