makedepends=(extra-cmake-modules qttools qtbase)

description="An embeddable expression evaluation engine (Krita fork)"
url="https://krita.org"

packager="Great-OS Team"
maintainer="Great-OS Team"

name="kseexpr"
version="4.0.4.0"
release=1

source=(https://download.kde.org/stable/kseexpr/${version%.*}/kseexpr-$version.tar.gz)

build() {
  cmake -B build -S $name-$version \
    -DCMAKE_INSTALL_PREFIX=/usr \
    -DBUILD_DEMOS=OFF \
    -DBUILD_TESTS=OFF
  cmake --build build
}

package() { 
  DESTDIR="$PKG" cmake --install build
}

