# Contributor: Bart Ribbers # The group tag is just to easily find this APKBUILD by some scripts for automation # group=kde-frameworks maintainer="team/kde " pkgname=syntax-highlighting pkgver=6.13.0 pkgrel=0 pkgdesc="Syntax highlighting engine for structured text and code" # armhf blocked by qt6-qtdeclarative arch="all !armhf" url="https://community.kde.org/Frameworks" license="MIT" depends_dev=" qt6-qtbase-dev qt6-qtdeclarative-dev xerces-c-dev " makedepends="$depends_dev doxygen extra-cmake-modules graphviz perl qt6-qttools-dev samurai " subpackages="$pkgname-dev $pkgname-doc $pkgname-lang" _repo_url="https://invent.kde.org/frameworks/syntax-highlighting.git" source="https://download.kde.org/stable/frameworks/${pkgver%.*}/syntax-highlighting-$pkgver.tar.xz" build() { cmake -B build -G Ninja \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_INSTALL_LIBDIR=lib \ -DBUILD_QCH=ON cmake --build build } check() { ctest --test-dir build -E "(test|html)highlighter_test" } package() { DESTDIR="$pkgdir" cmake --install build } sha512sums=" 6ef280ef0f7b5d6fbd62b7c87c337c7e1afe9a34cc840f10dd9a4bd6e74a75cadb47823cc2871552aca21403c4c6b1b2f24e1bfd42ec5c40aa5f919119ff323a syntax-highlighting-6.13.0.tar.xz "