2024-07-04 19:59:11 +00:00

46 lines
1.2 KiB
Plaintext

# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: team/kde <bribbers@disroot.org>
# The group tag is just to easily find this APKBUILD by some scripts for automation
# group=kde-applications
pkgname=kde-dev-utils
pkgver=24.05.2
pkgrel=0
# armhf blocked by extra-cmake-modules
arch="all !armhf"
url="https://kde.org/applications/development/"
pkgdesc="Small utilities for developers using KDE/Qt libs/frameworks"
license="(LGPL-2.0-only OR LGPL-3.0-only) AND GPL-2.0-or-later"
makedepends="
extra-cmake-modules
kcoreaddons-dev
ki18n-dev
kparts-dev
kwidgetsaddons-dev
qt6-qttools-dev
samurai
"
subpackages="$pkgname-lang"
_repo_url="https://invent.kde.org/sdk/kde-dev-utils.git"
source="https://download.kde.org/stable/release-service/$pkgver/src/kde-dev-utils-$pkgver.tar.xz"
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="
136f9692ba703de38bb1bec6b8a199638d7110a5fa0ffaf1ba1151a6488dcf9e0d371a299cf4f59408c6c1de400f63f44b893f96b1581ec4c0a82926205eea6d kde-dev-utils-24.05.2.tar.xz
"