source ../frameworks.conf pkgname=syntax-highlighting pkgver=${KFVersion} pkgrel=1 pkgdesc='Syntax highlighting Engine for Structured Text and Code.' arch=('x86_64') url='https://projects.kde.org/projects/frameworks/syntax-highlighting' license=('LGPL') depends=('qt5-xmlpatterns' 'perl') makedepends=("extra-cmake-modules>=${KFECMVersion}" 'python3' 'qt5-tools') groups=('kf5') options=("debug") source=("${KFServer}/${pkgname}-${pkgver}.tar.xz" 'pkgbuild-syntax-highlight.patch') sha256sums=( $(getSum ${pkgname}) '3ac25ae5f7a4956ae7bed6e79607a4ab5021875fd198fe348a1712db71a25b96') prepare() { mkdir -p build cd ${pkgname}-${pkgver}/data/syntax patch -Np4 -i ${srcdir}/pkgbuild-syntax-highlight.patch } build() { cd build cmake_kf5 ../${pkgname}-${pkgver} make } package() { cd build make DESTDIR="${pkgdir}" install }