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


                                                  
              
        
                                        
                                      

                                        

                                                




                           
               
         
                       
                                                                                                 


                                        

                                                   

                                             
                           


         



                                                                          


           
                                               
 
            
                                                                                                                                                              
 
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=grantleetheme
pkgver=22.04.3
pkgrel=0
pkgdesc="KDE PIM mail related libraries"
# armhf blocked by extra-cmake-modules
# s390x and riscv64 blocked by knewstuff
arch="all !armhf !s390x !riscv64"
url="https://kontact.kde.org/"
license="GPL-2.0-or-later AND LGPL-2.1-or-later"
makedepends="
	extra-cmake-modules
	grantlee-dev
	ki18n-dev
	knewstuff-dev
	samurai
	"
checkdepends="xvfb-run"
source="https://download.kde.org/stable/release-service/$pkgver/src/grantleetheme-$pkgver.tar.xz"
subpackages="$pkgname-dev $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

	# grantleethemetest is broken
	CTEST_OUTPUT_ON_FAILURE=TRUE xvfb-run ctest -E "grantleethemetest"
}

package() {
	DESTDIR="$pkgdir" cmake --install build
}
sha512sums="
8573a481051ef18aa45aa769cf575ecbaaf3d2cfa16d8f9bcfca194cc5a0bfc993c6e1596ffb86053b169834191edcbe7357120467f29b8bd26f58526519223d  grantleetheme-22.04.3.tar.xz
"