aports/community/kde-dev-utils/APKBUILD
2024-09-13 13:50:51 +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.08.1
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="
ca50a4c172fc51937788cd9d1e6f3864d8ed081b635dd1f06d6faabd44fb618d0507d0b79c30cce664d0deadb5a5256b24da0f6bcd4db607b3cc4032aa8af21d kde-dev-utils-24.08.1.tar.xz
"