makedepends=(extra-cmake-modules kconfig kcoreaddons kdbusaddons kglobalaccel ki18n kiconthemes kio kirigami kirigami-addons kitemmodels knewstuff kquickcharts kservice ksystemstats kwindowsystem libksysguard qt6-base qt6-declarative)

description="An interface for monitoring system sensors, process information and other system resources"
url="https://kde.org/plasma-desktop/"

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

set=(plasma-extra kde6-extra plasma-dev)

name="plasma-systemmonitor"
version="6.6.5"
release=1

source=(https://download.kde.org/stable/plasma/$version/plasma-systemmonitor-$version.tar.xz)

build() {
  cmake -B build \
        -S $name-$version \
        -DCMAKE_BUILD_TYPE=Release \
        -DCMAKE_INSTALL_PREFIX=/usr  \
        -DCMAKE_INSTALL_LIBDIR=lib

  cmake --build build
  DESTDIR="$PKG" cmake --install build
}
