#!/usr/bin/env bash name='kplotting' release='5' version='6.8.0' url='https://community.kde.org/Frameworks' description='Lightweight plotting framework' email='brkt8khn@gmail.com' maintainer='brkt8khn' license=('LGPL') source=("https://download.kde.org/stable/frameworks/${version%.*}/kplotting-${version}.tar.xz") depends=(qt6-base) makedepends=(extra-cmake-modules doxygen qt6-tools) sha256sums=('736c95f7761ca062585ed2b5b72656b9bb6a5e706548cbd9f07da4f62c8fba8b') group=(kde.frameworks) uses=() arch=('x86_64') cd $name-$version setup () { cmake -B build -G Ninja \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib \ -DBUILD_QCH=ON } build () { cmake --build build } package () { DESTDIR="$DESTDIR" cmake --install build }