# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=syntax-highlighting pkgver=5.41.0 pkgrel=0 pkgdesc='Syntax highlighting engine for structured text and code' arch="all" url='https://community.kde.org/Frameworks' license="LGPL-2.1" depends="" depends_dev="qt5-qtbase-dev" makedepends="$depends_dev extra-cmake-modules qt5-qttools-dev doxygen" source="https://download.kde.org/stable/frameworks/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz apkbuild-syntax-highlight.patch" subpackages="$pkgname-dev $pkgname-doc $pkgname-lang" build() { cmake \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_LIBDIR=lib \ -DBUILD_QCH=ON make } check() { cd "$builddir" CTEST_OUTPUT_ON_FAILURE=TRUE ctest } package() { cd "$builddir" make DESTDIR="$pkgdir" install } sha512sums="86ed50766c9c0a3ef9e71421f5e7b9248ab1f28d0ecd424af57d643e613f488e572d001c55c58ab0ef501d6160b2db75dec0b325447132a5f49ff6dc6c52afea syntax-highlighting-5.41.0.tar.xz 0079a84b9d2e7f53929e168e3400cb52ce2e203c8a052407dda828824109fa2209b82a1fefa7d4439e9ecff7e1170dac71e8100c2b5dc8a4bd980322ad7b6a50 apkbuild-syntax-highlight.patch"