aports/community/kcompletion/APKBUILD
2025-04-24 20:33:45 +02:00

48 lines
1.2 KiB
Text

# The group tag is just to easily find this APKBUILD by some scripts for automation
# group=kde-frameworks
maintainer="team/kde <bribbers@disroot.org>"
pkgname=kcompletion
pkgver=6.13.0
pkgrel=0
pkgdesc="Text completion helpers and widgets"
# armhf blocked by qt6-qtdeclarative -> kconfig
arch="all !armhf"
url="https://community.kde.org/Frameworks"
license="LGPL-2.1-or-later"
depends_dev="
kcodecs-dev
kconfig-dev
kwidgetsaddons-dev
"
makedepends="$depends_dev
doxygen
extra-cmake-modules
graphviz
qt6-qttools-dev
samurai
"
checkdepends="xvfb-run"
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
_repo_url="https://invent.kde.org/frameworks/kcompletion.git"
source="https://download.kde.org/stable/frameworks/${pkgver%.*}/kcompletion-$pkgver.tar.xz"
build() {
cmake -B build -G Ninja \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
-DBUILD_QCH=ON
cmake --build build
}
check() {
xvfb-run ctest --test-dir build
}
package() {
DESTDIR="$pkgdir" cmake --install build
}
sha512sums="
6abd8f3d27a7519a42f8d952758519764d4c974ccd59f4a66c3cf1a139c0db5ef59a1245204e05d9c0f4bfc34fadfda13885c04405759906fe376c565c76dd9b kcompletion-6.13.0.tar.xz
"