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