# Depends on: qt-base qt-xmlpatterns kf5-extra-cmake-modules

description="Syntax highlighting engine for structured text and code"
url="https://www.kde.org/"
packager="pierre at nutyx dot org"
alias=(syntax-highlighting)

_name=syntax-highlighting
release=1

source=(http://download.kde.org/stable/frameworks/${version%.*}/${_name}-$version.tar.xz)

build() {
cd ${_name}-$version
mkdir build
cd    build
cmake -DCMAKE_INSTALL_PREFIX=/usr \
      -DCMAKE_BUILD_TYPE=Release  \
      -DLIB_INSTALL_DIR=lib       \
      -DBUILD_TESTING=OFF         \
      -Wno-dev ..

make
make DESTDIR=$PKG install
}

