aboutsummaryrefslogblamecommitdiffstats
path: root/community/kapptemplate/APKBUILD
blob: b333cd535bace3cfa85042fc1525709204f0eaba (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=kapptemplate
pkgver=21.08.1
pkgrel=0
# armhf blocked by extra-cmake-modules
# s390x, mips64 and riscv64 blocked by kio
arch="all !armhf !s390x !mips64 !riscv64"
url="https://kde.org/applications/development/org.kde.kapptemplate"
pkgdesc="Factory for the easy creation of KDE/Qt components and programs"
license="GPL-2.0-or-later AND GFDL-1.2-only"
makedepends="
	extra-cmake-modules
	karchive-dev
	kcompletion-dev
	kconfigwidgets-dev
	kcoreaddons-dev
	kdoctools-dev
	ki18n-dev
	kio-dev
	qt5-qtbase-dev
	"
source="https://download.kde.org/stable/release-service/$pkgver/src/kapptemplate-$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 --install build
}

sha512sums="
3327a1e3e43be6235ede51665071e47caf6307ca2271a2f356817db57c7891b6aa984bc6727c9e1f23e27d82f4c5a5d2b282df58731f39b9f8fadd997fc5b8f8  kapptemplate-21.08.1.tar.xz
"