# Contributor: Bart Ribbers # Maintainer: team/kde # The group tag is just to easily find this APKBUILD by some scripts for automation # group=kde-applications pkgname=kapptemplate pkgver=23.04.3 pkgrel=1 # armhf blocked by extra-cmake-modules # s390x and riscv64 blocked by kio arch="all !armhf !s390x !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 samurai " _repo_url="https://invent.kde.org/sdk/kapptemplate.git" source="https://download.kde.org/stable/release-service/$pkgver/src/kapptemplate-$pkgver.tar.xz" subpackages="$pkgname-doc $pkgname-lang" build() { cmake -B build -G Ninja \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib cmake --build build } check() { ctest --test-dir build --output-on-failure } package() { DESTDIR="$pkgdir" cmake --install build } sha512sums=" bd1474ff3e4243b6ce2d88ac02220a326ba98fc5f2d9db45782715704701cdf6959bc73e68dccd2dcf0790062e0e5412b26717685ad7e3e02f9b68efcc9acdba kapptemplate-23.04.3.tar.xz "